Esempio n. 1
0
 private string Communication_SendPayload(SocketWrapper client, string request)
 {
     int sent = client.WriteString(request);
     var response = client.ReadString();
     return response;
 }
Esempio n. 2
0
 private void Communication_IdentifySelf(SocketWrapper socket)
 {
     socket.WriteString(string.Format(@"{0}\{1}", Environment.MachineName, Environment.UserName));
 }