private void OnDisconnect(DisconnectionContext ctx, ConnectionInfo inf) { Disconnections++; }
private void OnDisconnect(DisconnectionContext ctx, ConnectionInfo inf) { Application.Restart(); }
private static void OnDisconnect(DisconnectionContext ctx, ConnectionInfo inf) { Console.WriteLine($"{inf.RemoteHostName} has disconnected"); }