C# Class NetLib.DNS.Records.SRVRecord

Afficher le fichier Open project: sgissinger/JabberNet-2010 Class Usage Examples

Méthodes publiques

Свойство Type Description
NameNext string
Pad ushort
Port ushort
Priority ushort
Weight ushort

Méthodes publiques

Méthode Description
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

Method Details

ToString() public méthode

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
Résultat string

Property Details

NameNext public_oe property

Gets or sets the name
Pointer to a string representing the target host.
public string NameNext
Résultat string

Pad public_oe property

Reserved.
Reserved. Used to keep pointers DWORD aligned.
public ushort Pad
Résultat ushort

Port public_oe property

Gets or sets the port
Port used on the terget host for the service.
public ushort Port
Résultat ushort

Priority public_oe property

Gets or sets the priority
Priority of the target host specified in the owner name. Lower numbers imply higher priority.
public ushort Priority
Résultat ushort

Weight public_oe property

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
Résultat ushort