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