SrvRecord Constructor

Creates a new instance of the SrvRecord class

Definition

Namespace: ARSoft.Tools.Net.Dns
Assembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
C#
public SrvRecord(
	DomainName name,
	int timeToLive,
	ushort priority,
	ushort weight,
	ushort port,
	DomainName target
)

Parameters

name  DomainName
Name of the record
timeToLive  Int32
Seconds the record should be cached at most
priority  UInt16
Priority of the record
weight  UInt16
Relative weight for records with the same priority
port  UInt16
The port of the service on the target
target  DomainName
Domain name of the target host

See Also