private static void SendServerHandshake(ServerHandshake handshake, Context context) { // generate a byte array representation of the handshake including the answer to the challenge string temp = handshake.ToString(); byte[] handshakeBytes = Encoding.UTF8.GetBytes(temp); context.UserContext.Send(handshakeBytes, true); }