C# Класс NetLib.DNS.Records.SRVRecord

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
NameNext string
Pad ushort
Port ushort
Priority ushort
Weight ushort

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

Метод Описание
ToString ( ) : string

Returns a string representation of this record.

The string returned looks like: name next: [SERVER] priority: [PRIOR] weight: [WEIGHT] port: [PORT] where [SERVER] = string representation of NameNext and [PRIOR] = string representation of Priority and [WEIGHT] = string representation of Weight and [PORT] = string representation of Port

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

ToString() публичный Метод

Returns a string representation of this record.
The string returned looks like: name next: [SERVER] priority: [PRIOR] weight: [WEIGHT] port: [PORT] where [SERVER] = string representation of NameNext and [PRIOR] = string representation of Priority and [WEIGHT] = string representation of Weight and [PORT] = string representation of Port
public ToString ( ) : string
Результат string

Описание свойств

NameNext публичное свойство

Gets or sets the name
Pointer to a string representing the target host.
public string NameNext
Результат string

Pad публичное свойство

Reserved.
Reserved. Used to keep pointers DWORD aligned.
public ushort Pad
Результат ushort

Port публичное свойство

Gets or sets the port
Port used on the terget host for the service.
public ushort Port
Результат ushort

Priority публичное свойство

Gets or sets the priority
Priority of the target host specified in the owner name. Lower numbers imply higher priority.
public ushort Priority
Результат ushort

Weight публичное свойство

Gets or sets the weight
Weight of the target host. Useful when selecting among hosts with the same priority. The chances of using this host should be proportional to its weight.
public ushort Weight
Результат ushort