static void Connect() { cs.Connect(RemoteIP, RemotePort); cs.Send("CONNECTION|" + GetCountry() + "|" + Environment.MachineName); cs.Received += new ClientSettings.ReceivedEventHandler(cs_Received); cs.Disconnected += new ClientSettings.DisconnectedEventHandler(cs_Disconnected); }