public void SendMethod()
        {
            data mp = new data();

            BinaryFormatter bformatter = new BinaryFormatter();

            Stream stream = new MemoryStream();

            Console.WriteLine("Writing Employee Information");
            bformatter.Serialize(stream, mp);

            stream.Seek(0, SeekOrigin.Begin);

            var bytes = new byte[stream.Length];
            stream.Read(bytes, 0, bytes.Length);


            TransData td = new TransData
            {
                //Type = mp.GetType(),
                SerializeData = bytes
            };


            foreach (var b in bytes)
            {
                MsgQueueProvider<TransData>.Provider.Send(td);
            }


        }