示例#1
0
        // Token: 0x060001D3 RID: 467 RVA: 0x00008744 File Offset: 0x00006944
        public string GetNodeIdentifier()
        {
            string text = string.Empty;

            using (AmClusterRawData nodeControlData = this.GetNodeControlData(AmClusterNodeControlCode.CLUSCTL_NODE_GET_ID, 1024U))
            {
                text = nodeControlData.ReadString();
                AmTrace.Debug("GetNodeIdentifier: Node '{0}' is identified by '{1}'.", new object[]
                {
                    this.Name,
                    text
                });
            }
            return(text);
        }
        // Token: 0x06000192 RID: 402 RVA: 0x00007384 File Offset: 0x00005584
        public string GetNodeName()
        {
            string text = string.Empty;

            using (AmClusterRawData netInterfaceControlData = this.GetNetInterfaceControlData(AmClusterNetInterfaceControlCode.CLUSCTL_NETINTERFACE_GET_NODE))
            {
                text = netInterfaceControlData.ReadString();
                AmTrace.Debug("GetNetInterfaceIdentifier: NetInterface '{0}' is owned by '{1}'.", new object[]
                {
                    this.Name,
                    text
                });
            }
            return(text);
        }