C# 클래스 NetLib.DNS.Records.SRVRecord

파일 보기 프로젝트 열기: sgissinger/JabberNet-2010 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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