API Reference
Class
SrvRecord
Represents an SRV record specifying host and port for a service.
Inheritance
- Object
- SrvRecord
Remarks
Defined in RFC 2782.
Constructors
public SrvRecord(UInt16 priority, UInt16 weight, UInt16 port, String target) #Initializes a new instance of the SrvRecord class.
Parameters
- priority System.UInt16
- Priority of the target host.
- weight System.UInt16
- Relative weight for records with the same priority.
- port System.UInt16
- Service port.
- target System.String
- Domain name of the target host.
Inherited Methods
Properties
public UInt16 Priority { get; } #Gets the priority of the target host.
public UInt16 Weight { get; } #Gets the weight used to select between records with the same priority.
public UInt16 Port { get; } #Gets the port on the target host of the service.
public String Target { get; } #Gets the domain name of the target host.