Opc.Ua.Client.DataDictionary.GetTypeSystem C# (CSharp) Method

GetTypeSystem() private method

Retrieves the type system for the dictionary.
private GetTypeSystem ( NodeId dictionaryId ) : void
dictionaryId NodeId
return void
        private void GetTypeSystem(NodeId dictionaryId)
        {                    
            Browser browser = new Browser(m_session);
            
            browser.BrowseDirection = BrowseDirection.Inverse;
            browser.ReferenceTypeId = ReferenceTypeIds.HasComponent;
            browser.IncludeSubtypes = false;
            browser.NodeClassMask   = 0;

            ReferenceDescriptionCollection references = browser.Browse(dictionaryId);
                                   
            if (references.Count > 0)
            {   
                m_typeSystemId = ExpandedNodeId.ToNodeId(references[0].NodeId, m_session.NamespaceUris);
                m_typeSystemName = references[0].ToString();
            }
        }