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