Skip to content
Class library for Cracked.to's official authentication system written in C#.
C#
Branch: master
Clone or download
Latest commit 350c9dd Oct 7, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Cracked.to Authentication Update Auth.cs Oct 6, 2019
.gitattributes Add .gitignore and .gitattributes. Sep 19, 2019
.gitignore Add .gitignore and .gitattributes. Sep 19, 2019
Cracked.to Authentication.sln Add project files. Sep 19, 2019
LICENSE Create LICENSE Sep 20, 2019
README.md Create README.md Sep 19, 2019

README.md

Cracked.to Authentication

Class library for Cracked.to's official authentication system written in C# - https://cracked.to/auth.php

Installation

Build solution, install Newtonsoft.Json and System.Management packages and import DLL into your project.

Example Usage

Console.WriteLine("Enter authentication key.");
string authKey = Console.ReadLine();

Auth auth = new Auth();
bool isAuthenticated = auth.Authenticate(authKey, "-1");

Console.WriteLine("Authenticated: " + isAuthenticated);
Console.ReadLine();

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

You can’t perform that action at this time.