Opc.Ua.XmlDecoder.ReadGuid C# (CSharp) Method

ReadGuid() public method

Reads a GUID from the stream.
public ReadGuid ( string fieldName ) : Uuid
fieldName string
return Uuid
        public Uuid ReadGuid(string fieldName)
        {
            Uuid value = new Uuid();

            if (BeginField(fieldName, true))
            {                
                PushNamespace(Namespaces.OpcUaXsd);
                value.GuidString = ReadString("String");
                PopNamespace();
                
                EndField(fieldName);
            }

            return value;
        }