C# Класс BaxterWorks.DNS.Parsers.Query

Показать файл Открыть проект

Открытые методы

Метод Описание
ParseQueryHeader ( byte buffer ) : QueryHeader
ParseQuestionSection ( byte buffer ) : QuestionSection

QNAME a domain name represented as a sequence of labels, where each label consists of a length octet followed by that number of octets.The domain name terminates with the zero length octet for the null label of the root.Note that this field may be an odd number of octets; no padding is used. QTYPE a two octet code which specifies the type of the query. The values for this field include all codes valid for a TYPE field, together with some more general codes which can match more than one type of RR. QCLASS a two octet code that specifies the class of the query. For example, the QCLASS field is IN for the Internet.

Описание методов

ParseQueryHeader() публичный статический Метод

public static ParseQueryHeader ( byte buffer ) : QueryHeader
buffer byte
Результат BaxterWorks.DNS.Types.QueryHeader

ParseQuestionSection() публичный статический Метод

QNAME a domain name represented as a sequence of labels, where each label consists of a length octet followed by that number of octets.The domain name terminates with the zero length octet for the null label of the root.Note that this field may be an odd number of octets; no padding is used. QTYPE a two octet code which specifies the type of the query. The values for this field include all codes valid for a TYPE field, together with some more general codes which can match more than one type of RR. QCLASS a two octet code that specifies the class of the query. For example, the QCLASS field is IN for the Internet.
public static ParseQuestionSection ( byte buffer ) : QuestionSection
buffer byte
Результат BaxterWorks.DNS.Types.QuestionSection