Full refund within 14 days of purchase date.
This program can check if a user with the specified password exists. Requires an internet connection and a file on the internet. The installation and use is very easy and will not require more than a few minutes to set up.
This DLL comes with only few and clear, but at the same time effective functions. It can be used for people who are new to C# but also professionals can benefit from this DLL. All this combined creates a small but very fast component on which you can rely on.
Add the OnlineLogin.dll to your project as a reference. Create a file on your website with all users and passwords, if such a file doesn't already exist. Ensure that the file has the following format: Username - Password
Initialize a new Login object with this simple line:
Login userLogin = new Login();
Then, tell the DLL where the file is. Replace the sample URL with the URL of the file.
userLogin.Init("http://example.com/Users.txt");
Finally, check the existence of a user and the corresponding password like so:
userLogin.CheckUser(username, password);
The two last functions should be stored in an integer variable, so that it can be used in an if statement, where it should belong to. For the check, use this if statement:
int check = userLogin.CheckUser(username, password);
if(check == 1)
{
//success
}
else
{
//failure
}
And for the initialisation you can use this sample:
int init = userLogin.Init("http://example.com/Users.txt");
if(init == 1)
{
//success
}
else
{
//failure
}
Note: 1 always equals true, 0 always equals false.
This is a very good component and has great docs but it just has one big bug right now that messes up the auth, but it is open source so we can change it if we want too
Questions & Comments