本文整理汇总了C#中Internal.ReadDomain方法的典型用法代码示例。如果您正苦于以下问题:C# Internal.ReadDomain方法的具体用法?C# Internal.ReadDomain怎么用?C# Internal.ReadDomain使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Internal
的用法示例。
在下文中一共展示了Internal.ReadDomain方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ReadRDATA
internal override void ReadRDATA(Internal.ByteReader reader)
{
NSDNAME = reader.ReadDomain();
}
示例2: ReadRDATA
internal override void ReadRDATA(Internal.ByteReader reader)
{
PRIORITY = reader.ReadUIn16();
WEIGHT = reader.ReadUIn16();
PORT = reader.ReadUIn16();
TARGET = reader.ReadDomain();
}
示例3: ReadRDATA
internal override void ReadRDATA(Internal.ByteReader reader)
{
MNAME = reader.ReadDomain();
RNAME = reader.ReadDomain();
SERIAL = reader.ReadUint32();
REFRESH = reader.ReadUint32();
RETRY = reader.ReadUint32();
EXPIRE = reader.ReadUint32();
MINIMUM = reader.ReadUint32();
}
示例4: ReadRDATA
internal override void ReadRDATA(Internal.ByteReader reader)
{
CANONICAL = reader.ReadDomain();
}
示例5: ReadRDATA
internal override void ReadRDATA(Internal.ByteReader reader)
{
PREFERENCE = reader.ReadUIn16();
EXCHANGE = reader.ReadDomain();
}
示例6:
void Internal.IResponseReader.ReadResponse(Internal.ByteReader reader)
{
NAME = reader.ReadDomain();
// TYPE may be not understood
TypeValue = reader.ReadUIn16();
if (Enum.IsDefined(typeof(QTYPE), TypeValue))
{
// known type
TYPE = (QTYPE)TypeValue;
TypeString = TYPE.ToString();
}
else
{
// unknown type
TYPE = null;
TypeString = String.Format("[{0}]", TypeValue.ToString());
}
CLASS = reader.ReadUIn16Enum<QCLASS>();
TTL = reader.ReadUint32();
RDLENGTH = reader.ReadUIn16();
}
示例7: ReadRDATA
internal override void ReadRDATA(Internal.ByteReader reader)
{
ORDER = reader.ReadUIn16();
PREFERENCE = reader.ReadUIn16();
FLAGS = Encoding.ASCII.GetString(reader.ReadCharacterString()).ToUpper();
SERVICES = reader.ReadCharacterString();
REGEXP = reader.ReadCharacterString();
REPLACEMENT = reader.ReadDomain();
}
示例8:
void Internal.IResponseReader.ReadResponse(Internal.ByteReader reader)
{
QNAME = reader.ReadDomain();
QTYPE = reader.ReadUIn16Enum<QTYPE>();
QCLASS = reader.ReadUIn16Enum<QCLASS>();
}