Exemple #1
0
 static void _app_ClientDisconnected(object sender, ServiceClientEventArgs e)
 {
     Console.WriteLine("_app_ClientDisconnected: {0}-{1}-{2}", e.Client.ClientId, e.Client.CommunicationState, e.Client.RemoteEndPoint);
     Console.WriteLine("Client object: {0}", e.Client.ToString());
 }
 private void GsserviceOnClientConnected(object sender, ServiceClientEventArgs serviceClientEventArgs)
 {
     _authedClient = serviceClientEventArgs.Client;
 }