LocRecord Constructor

Creates a new instance of the LocRecord class

Definition

Namespace: ARSoft.Tools.Net.Dns
Assembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
C#
public LocRecord(
	DomainName name,
	int timeToLive,
	byte version,
	double size,
	double horizontalPrecision,
	double verticalPrecision,
	LocRecordDegree latitude,
	LocRecordDegree longitude,
	double altitude
)

Parameters

name  DomainName
Name of the record
timeToLive  Int32
Seconds the record should be cached at most
version  Byte
Version number of representation
size  Double
Size of location in centimeters
horizontalPrecision  Double
Horizontal precision in centimeters
verticalPrecision  Double
Vertical precision in centimeters
latitude  LocRecordDegree
Latitude of the geographical position
longitude  LocRecordDegree
Longitude of the geographical position
altitude  Double
Altitude of the geographical position

See Also