Goedel.Mesh.ConfigRegistryEntryBINARY.Write C# (CSharp) Method

Write() public method

Write the formatted value to an XML stream.
public Write ( string Key, XmlWriter Writer ) : void
Key string The registry key/XML element name.
Writer System.Xml.XmlWriter The writer to output the entry to.
return void
        public override void Write(string Key, XmlWriter Writer) {
            Writer.WriteStartElement(Key);
            Writer.WriteAttributeString("type", "BINARY");
            foreach (var Byte in Value) {
                Writer.WriteString(Byte.ToString("x2"));
                }

            Writer.WriteEndElement();
            }
        }
ConfigRegistryEntryBINARY