本文整理汇总了C#中Heijden.DNS.RecordReader.ReadString方法的典型用法代码示例。如果您正苦于以下问题:C# RecordReader.ReadString方法的具体用法?C# RecordReader.ReadString怎么用?C# RecordReader.ReadString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Heijden.DNS.RecordReader
的用法示例。
在下文中一共展示了RecordReader.ReadString方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: RecordNAPTR
public RecordNAPTR(RecordReader rr)
{
ORDER = rr.ReadUInt16();
PREFERENCE = rr.ReadUInt16();
FLAGS = rr.ReadString();
SERVICES = rr.ReadString();
REGEXP = rr.ReadString();
REPLACEMENT = rr.ReadDomainName();
}
示例2: RecordNAPTR
public RecordNAPTR(RecordReader rr)
{
Order = rr.ReadShort();
Preference = rr.ReadShort();
rr.ReadChar(); // 1 byte needs to be skipped since for ENUM lookups the flag should be single char only.
Flag = rr.ReadChar();
Service = rr.ReadString();
Rule = rr.ReadString();
Rule = (Rule != null) ? Rule.Replace(@"\\", @"\") : null;
Replacement = rr.ReadDomainName();
}
示例3: RecordKEY
public RecordKEY(RecordReader rr)
{
FLAGS = rr.ReadUInt16();
PROTOCOL = rr.ReadByte();
ALGORITHM = rr.ReadByte();
PUBLICKEY = rr.ReadString();
}
示例4: RecordTXT
public RecordTXT(RecordReader rr, int Length)
{
int pos = rr.Position;
TXT = new List<string>();
while ((rr.Position - pos) < Length)
TXT.Add(rr.ReadString());
}
示例5: RecordSIG
public RecordSIG(RecordReader rr)
{
TYPECOVERED = rr.ReadUInt16();
ALGORITHM = rr.ReadByte();
LABELS = rr.ReadByte();
ORIGINALTTL = rr.ReadUInt32();
SIGNATUREEXPIRATION = rr.ReadUInt32();
SIGNATUREINCEPTION = rr.ReadUInt32();
KEYTAG = rr.ReadUInt16();
SIGNERSNAME = rr.ReadDomainName();
SIGNATURE = rr.ReadString();
}
示例6: RecordTXT
public RecordTXT(RecordReader rr)
{
TXT = rr.ReadString();
}
示例7: RecordHINFO
public RecordHINFO(RecordReader rr)
{
CPU = rr.ReadString();
OS = rr.ReadString();
}
示例8: RecordNSAPPTR
public RecordNSAPPTR(RecordReader rr)
{
OWNER = rr.ReadString();
}
示例9: RecordGPOS
public RecordGPOS(RecordReader rr)
{
LONGITUDE = rr.ReadString();
LATITUDE = rr.ReadString();
ALTITUDE = rr.ReadString();
}
示例10: RecordX25
public RecordX25(RecordReader rr)
{
PSDNADDRESS = rr.ReadString();
}
示例11: RecordISDN
public RecordISDN(RecordReader rr)
{
ISDNADDRESS = rr.ReadString();
SA = rr.ReadString();
}