private static byte[] PackOutterMessage(MessageWrapper SendingMessage) { //PACK THE MESSAGE INTO A MESSAGE WRAPPER WITH A KNOWN TYPE return(WrapMessage(SendingMessage.GetType(), SendingMessage).Data); }