当前位置: 首页>>代码示例>>C#>>正文


C# RecordReader.ReadDomainName方法代码示例

本文整理汇总了C#中RecordReader.ReadDomainName方法的典型用法代码示例。如果您正苦于以下问题:C# RecordReader.ReadDomainName方法的具体用法?C# RecordReader.ReadDomainName怎么用?C# RecordReader.ReadDomainName使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在RecordReader的用法示例。


在下文中一共展示了RecordReader.ReadDomainName方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: RPRecord

        public RPRecord(RR rr, RecordReader recordReader)
            : base(rr)
        {
            if (recordReader == null)
            {
                throw new ArgumentNullException("recordReader");
            }

            m_mboxDName = recordReader.ReadDomainName();
            m_txtDName = recordReader.ReadDomainName();
        }
开发者ID:atanasmihaylov,项目名称:lanscan,代码行数:11,代码来源:RPRecord.cs

示例2: MINFORecord

        public MINFORecord(RR rr, RecordReader recordReader)
            : base(rr)
        {
            if (recordReader == null)
            {
                throw new ArgumentNullException("recordReader");
            }

            m_rMailBx = recordReader.ReadDomainName();
            m_eMailBx = recordReader.ReadDomainName();
        }
开发者ID:atanasmihaylov,项目名称:lanscan,代码行数:11,代码来源:MINFORecord.cs

示例3: PXRecord

        public PXRecord(RR rr, RecordReader recordReader)
            : base(rr)
        {
            if (recordReader == null)
            {
                throw new ArgumentNullException("recordReader");
            }

            m_preference = recordReader.ReadUInt16();
            m_map822 = recordReader.ReadDomainName();
            m_mapx400 = recordReader.ReadDomainName();
        }
开发者ID:atanasmihaylov,项目名称:lanscan,代码行数:12,代码来源:PXRecord.cs

示例4: SOARecord

        public SOARecord(RR rr, RecordReader recordReader)
            : base(rr)
        {
            if (recordReader == null)
            {
                throw new ArgumentNullException("recordReader");
            }

            m_mName = recordReader.ReadDomainName();
            m_rName = recordReader.ReadDomainName();
            m_serial = recordReader.ReadUInt32();
            m_refresh = recordReader.ReadUInt32();
            m_retry = recordReader.ReadUInt32();
            m_expire = recordReader.ReadUInt32();
            m_minimum = recordReader.ReadUInt32();
        }
开发者ID:atanasmihaylov,项目名称:lanscan,代码行数:16,代码来源:SOARecord.cs

示例5: RecordNXT

 public RecordNXT(RecordReader rr)
 {
     ushort length = rr.ReadUInt16(-2);
     NEXTDOMAINNAME = rr.ReadDomainName();
     length -= (ushort)rr.Position;
     BITMAP = new byte[length];
     BITMAP = rr.ReadBytes(length);
 }
开发者ID:sstraus,项目名称:xmpp,代码行数:8,代码来源:RecordNXT.cs

示例6: PTRRecord

        public PTRRecord(RR rr, RecordReader recordReader)
            : base(rr)
        {
            if (recordReader == null)
            {
                throw new ArgumentNullException("recordReader");
            }

            m_ptrDName = recordReader.ReadDomainName();
        }
开发者ID:atanasmihaylov,项目名称:lanscan,代码行数:10,代码来源:PTRRecord.cs

示例7: DNAMERecord

        public DNAMERecord(RR rr, RecordReader recordReader)
            : base(rr)
        {
            if (recordReader == null)
            {
                throw new ArgumentNullException("recordReader");
            }

            m_target = recordReader.ReadDomainName();
        }
开发者ID:atanasmihaylov,项目名称:lanscan,代码行数:10,代码来源:DNAMERecord.cs

示例8: AFSDBRecord

        public AFSDBRecord(RR rr, RecordReader recordReader)
            : base(rr)
        {
            if (recordReader == null)
            {
                throw new ArgumentNullException("recordReader");
            }

            m_subtype = recordReader.ReadUInt16();
            m_hostName = recordReader.ReadDomainName();
        }
开发者ID:atanasmihaylov,项目名称:lanscan,代码行数:11,代码来源:AFSDBRecord.cs

示例9: RTRecord

        public RTRecord(RR rr, RecordReader recordReader)
            : base(rr)
        {
            if (recordReader == null)
            {
                throw new ArgumentNullException("recordReader");
            }

            m_preference = recordReader.ReadUInt16();
            m_intermediateHost = recordReader.ReadDomainName();
        }
开发者ID:atanasmihaylov,项目名称:lanscan,代码行数:11,代码来源:RTRecord.cs

示例10: RecordTSIG

 ///<summary>
 ///</summary>
 ///<param name="rr"></param>
 public RecordTSIG(RecordReader rr)
 {
     AlgorithmName = rr.ReadDomainName();
     TimeSigned = rr.ReadUInt32() << 32 | rr.ReadUInt32();
     Fudge = rr.ReadUInt16();
     MacSize = rr.ReadUInt16();
     Mac = rr.ReadBytes(MacSize);
     OriginalId = rr.ReadUInt16();
     Error = rr.ReadUInt16();
     OtherLen = rr.ReadUInt16();
     OtherData = rr.ReadBytes(OtherLen);
 }
开发者ID:sstraus,项目名称:xmpp,代码行数:15,代码来源:RecordTSIG.cs

示例11: RecordTKEY

 ///<summary>
 ///</summary>
 ///<param name="rr"></param>
 public RecordTKEY(RecordReader rr)
 {
     Algorithm = rr.ReadDomainName();
     Inception = rr.ReadUInt32();
     Expiration = rr.ReadUInt32();
     Mode = rr.ReadUInt16();
     Error = rr.ReadUInt16();
     Keysize = rr.ReadUInt16();
     Keydata = rr.ReadBytes(Keysize);
     Othersize = rr.ReadUInt16();
     Otherdata = rr.ReadBytes(Othersize);
 }
开发者ID:sstraus,项目名称:xmpp,代码行数:15,代码来源:RecordTKEY.cs

示例12: NXTRecord

        public NXTRecord(RR rr, RecordReader recordReader)
            : base(rr)
        {
            if (recordReader == null)
            {
                throw new ArgumentNullException("recordReader");
            }

            var length = recordReader.ReadUInt16(-2);
            m_nextDomainName = recordReader.ReadDomainName();
            length -= (ushort)recordReader.Position;
            m_bitmap = recordReader.ReadBytes(length);
        }
开发者ID:atanasmihaylov,项目名称:lanscan,代码行数:13,代码来源:NXTRecord.cs

示例13: SRVRecord

        public SRVRecord(RR rr, RecordReader recordReader)
            : base(rr)
        {
            if (recordReader == null)
            {
                throw new ArgumentNullException("recordReader");
            }

            m_priority = recordReader.ReadUInt16();
            m_weight = recordReader.ReadUInt16();
            m_port = recordReader.ReadUInt16();
            m_target = recordReader.ReadDomainName();
        }
开发者ID:atanasmihaylov,项目名称:lanscan,代码行数:13,代码来源:SRVRecord.cs

示例14: NAPTRRecord

        public NAPTRRecord(RR rr, RecordReader recordReader)
            : base(rr)
        {
            if (recordReader == null)
            {
                throw new ArgumentNullException("recordReader");
            }

            m_order = recordReader.ReadUInt16();
            m_preference = recordReader.ReadUInt16();
            m_flags = recordReader.ReadString();
            m_services = recordReader.ReadString();
            m_regexp = recordReader.ReadString();
            m_replacement = recordReader.ReadDomainName();
        }
开发者ID:atanasmihaylov,项目名称:lanscan,代码行数:15,代码来源:NAPTRRecord.cs

示例15: SIGRecord

        public SIGRecord(RR rr, RecordReader recordReader)
            : base(rr)
        {
            if (recordReader == null)
            {
                throw new ArgumentNullException("recordReader");
            }

            m_typeCovered = recordReader.ReadUInt16();
            m_algorithm = recordReader.ReadByte();
            m_labels = recordReader.ReadByte();
            m_originalTtl = recordReader.ReadUInt32();
            m_signatureExpiration = recordReader.ReadUInt32();
            m_signatureInception = recordReader.ReadUInt32();
            m_keyTag = recordReader.ReadUInt16();
            m_signersName = recordReader.ReadDomainName();
            m_signature = recordReader.ReadString();
        }
开发者ID:atanasmihaylov,项目名称:lanscan,代码行数:18,代码来源:SIGRecord.cs


注:本文中的RecordReader.ReadDomainName方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。