public static void SendMessage(byte[] b) { var session = appServer.GetSessionByID(sessionID); if (session != null) { session.Send(b, 0, b.Length); } }