Domain Detective

API Reference

Class

LocRecord

Namespace DnsClientX
Assembly DnsClientX
Modifiers sealed

Represents a LOC record containing geographic information.

Inheritance

  • Object
  • LocRecord

Remarks

The format of this record is specified in RFC 1876.

Constructors

public LocRecord(Double latitude, Double longitude, Double altitudeMeters, Double sizeMeters, Double horizontalPrecisionMeters, Double verticalPrecisionMeters) #

Initializes a new instance of the LocRecord class.

Parameters

latitude System.Double requiredposition: 0
Latitude.
longitude System.Double requiredposition: 1
Longitude.
altitudeMeters System.Double requiredposition: 2
Altitude in meters.
sizeMeters System.Double requiredposition: 3
Location size in meters.
horizontalPrecisionMeters System.Double requiredposition: 4
Horizontal precision in meters.
verticalPrecisionMeters System.Double requiredposition: 5
Vertical precision in meters.

Properties

public Double Latitude { get; } #

Gets the geographic latitude.

public Double Longitude { get; } #

Gets the geographic longitude.

public Double AltitudeMeters { get; } #

Gets the altitude in meters.

public Double SizeMeters { get; } #

Gets the size of the location in meters.

public Double HorizontalPrecisionMeters { get; } #

Gets the horizontal precision in meters.

public Double VerticalPrecisionMeters { get; } #

Gets the vertical precision in meters.

{{ include "footer" }}