Example #1
0
        //#####################################################################################

        public NetMessageBody Clone()
        {
            NetMessageBody clone = new NetMessageBody();

            clone.CheckSum = this.CheckSum;
            clone.Data.AddRange(this.Data);


            return(clone);
        }
        //#####################################################################################

        public NetMessageBody Clone()
        {
            NetMessageBody clone = new NetMessageBody();

            clone.CheckSum = this.CheckSum;
            clone.Data     = new StringBuilder(this.Data.ToString());


            return(clone);
        }
Example #3
0
 public NetMessage(NetMessageHeader header, NetMessageBody body)
 {
     this.Header = header;
     this.Body   = body;
 }