Пример #1
0
        public override void Serialize(ref SerializationWriter mySerializationWriter)
        {
            mySerializationWriter.CheckNull("mySerializationWriter");

            if (_IPAddress != null)
            {
                mySerializationWriter.WriteBytesDirect(_IPAddress.GetAddressBytes());
            }
        }
Пример #2
0
        public override void Serialize(ref SerializationWriter mySerializationWriter)
        {
            mySerializationWriter.CheckNull("mySerializationWriter");

            if (_IPAddress != null)
            {
                mySerializationWriter.WriteBytesDirect(_IPAddress.GetAddressBytes());
            }
        }