protected static void DisposeClients(UnifiedClientBase client) { if (client != null) { client.Dispose(); } }
protected void ConnectToServer(UnifiedClientBase client, string address) { client.Connect(address); }
protected void ConnectToServer(UnifiedClientBase client, string address, byte[] token = null, object custom = null) { client.Connect(address, token, custom); client.InitEncryption(); }