Beispiel #1
0
 internal void OnLoginatempt(ClientLoginAttemtEventArgs e)
 {
     if (LoginAtempt != null)
     {
         LoginAtempt.Invoke(this, e);
     }
 }
Beispiel #2
0
 private static void Server_LoginAtempt(object sender, ClientLoginAttemtEventArgs e)
 {
     Console.WriteLine("User login atempt");
     Console.WriteLine(e.ClientGuid);
     Console.WriteLine(e.UserName);
     Console.WriteLine(e.Password);
     server.LoginSucsess(e.ClientGuid);
 }