private Auth_Click ( object sender, EventArgs e ) : void | ||
sender | object | |
e | EventArgs | |
Résultat | void |
private void Auth_Click(object sender, EventArgs e)
{
listBox1.Items.Add("Authenticating with server");
bool result = client.AuthenticateSession(HashCalc.GetSHA(textBox1.Text));
if (result)
{
listBox1.Items.Add("You are now Authenticated");
}
else
{
listBox1.Items.Add("Authentication Failed");
}
}