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