Skip to content
/ Sample Public

😼 Licensing system built in C# .NET Core, .NET Framework

Notifications You must be signed in to change notification settings

hexck/Sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Licensing System MIT license

Made by Hexk

😼 Why do you need Sample ?

Sample was built so that people can learn from it, for real-world use, anti-tampering techniques and obfuscation would probably be required.

⭐ How does it work ?

  • Client side (.NET Framework)
  • Server side (.NET Core)
  • MongoDB

🔥 What does it do ?

  • All data is encrypted (RSA, AES)
  • Built with sockets
  • Easy to understand and implement
  • Command-line interface
  • Bans & License expiration

📑 Examples

    var sample = new SampleClient("127.0.0.1", 3202).Connect();
    if (!sample.EncryptConnection())
        return;

    while (!sample.Whitelisted())
    {
        Console.Write("You are not whitelisted, please enter license key: ");
        var res = sample.Register(Console.ReadLine());
        Console.WriteLine(res == RequestState.Success ? "Key was valid" : "Key was not valid");
    }
    sample.Close();
            
    Console.WriteLine("Gg! you are verified!");

About

😼 Licensing system built in C# .NET Core, .NET Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages