本文整理汇总了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();
}
示例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();
}
示例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();
}
示例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();
}
示例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);
}
示例6: PTRRecord
public PTRRecord(RR rr, RecordReader recordReader)
: base(rr)
{
if (recordReader == null)
{
throw new ArgumentNullException("recordReader");
}
m_ptrDName = recordReader.ReadDomainName();
}
示例7: DNAMERecord
public DNAMERecord(RR rr, RecordReader recordReader)
: base(rr)
{
if (recordReader == null)
{
throw new ArgumentNullException("recordReader");
}
m_target = recordReader.ReadDomainName();
}
示例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();
}
示例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();
}
示例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);
}
示例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);
}
示例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);
}
示例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();
}
示例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();
}
示例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();
}