Пример #1
0
        private BluetoothAddress(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
        {
            String           text    = info.GetString("dataString");
            BluetoothAddress tmpAddr = BluetoothAddress.Parse(text);

            this.data = tmpAddr.data;
        }
Пример #2
0
        void System.Xml.Serialization.IXmlSerializable.ReadXml(System.Xml.XmlReader reader)
        {
            String           text    = reader.ReadElementContentAsString();
            BluetoothAddress tmpAddr = BluetoothAddress.Parse(text);

            this.data = tmpAddr.data;
        }