SQL-based authentication: Difference between revisions

m
Removing some pointless code in C# implementation
(Added C# code for SQL authentication)
m (Removing some pointless code in C# implementation)
Line 291:
{
reader.Read();
var userId = reader.GetInt32("userid");
var salt = reader.GetString("pass_salt");
var hash = reader.GetString("pass_md5");
Line 354 ⟶ 353:
{
Console.WriteLine(e.ToString());
}
finally
{
Console.ReadLine();
}
}
Anonymous user