Skip to content

Authenty library created in .NET Standard 2.0, the licensing system for .NET

License

Notifications You must be signed in to change notification settings

biitez/AuthentyLib

 
 

Repository files navigation

Authenty .NET Standard Library (https://biitez.dev/services/authenty)

GitHub Latest Release License: MIT

Features:

  • Built using .NET Standard 2.0
  • Broad compatibility with different versions of .NET
  • Very easy to use, more secure and interactive library
  • Compatibility with Windows Forms and WPF
  • The methods are commented inside the library
  • void Connect()
  • (bool Success, string Message) Login(string username, string password)
  • (bool Success, string Message) LicenseLogin(string license)
  • (bool Success, string Message) Register(string username, string password, string email, string license)
  • (bool Success, string Message) ExtendSubscription(string username, string password, string license)
  • (bool Success, string Message) GetVariable(string variableCode)

Small example code:

Licensing GetLicensing = new Licensing(new Configuration {
    RsaPubKey = "Rsa Application Public Key",
    ApplicationId = 1234567,
    ApplicationKey = "Application Key",
    ApplicationVersion = "1.0.0" // Only required if your application uses an auto-updater
});

GetLicensing.Connect();

Console.WriteLine("Username: ");
string UserName = Console.ReadLine();

Console.WriteLine("Password: ");
string Password = Console.ReadLine();

var (SuccessLogged, ServerMessage) = GetLicensing.Login(UserName, Password);

if (SuccessLogged) {
   // User Logged In
} else {
   Console.WriteLine(ServerMessage); // Prints an error message
}
Compatibilities:
 _____________________________________________________________________
|                        |                                            |
|     Implementation     |                 Version                    |
|________________________|____________________________________________|
|                        |                                            |
| .NET Core & .NET 5.0   | 2.0 - 2.1 - 2.2 - 3.0 - 3.1 - 5.0          |
| .NET Framework         | 4.6.1 - 4.6.2 - 4.7 - 4.7.1 - 4.7.2 - 4.8  |
|  Mono                  | 5.4 - 6.4                                  |
|  Xamarin.iOS           | 10.14 - 12.16                              |
|  Xamarin.Android       | 8.0 - 10.0                                 |
|  Uni. Windows Platform | 10.0.16299 - TBD                           |
|  Unity                 | 2018.1                                     |
|________________________|____________________________________________|
This library is much more recommended than using the class in your project.

Contributions, reports or suggestions

If you find a problem or have a suggestion inside this library, please let me know by clicking here, if you want to improve the code, make it cleaner or even more secure, create a pull request.

In case you will contribute in the code, please follow the same code base.

Credits

This library and project has been built solely by me in my spare time, with a total of 620+ hours of work, please consider donations so I can continue to maintain the server, buy myself a coffee and keep writing/learning code for my GitHub.

  • Telegram: https://t.me/biitez
  • Bitcoin Addy: bc1qzz4rghmt6zg0wl6shzaekd59af5znqhr3nxmms

About

Authenty library created in .NET Standard 2.0, the licensing system for .NET

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%