API Reference
Class
DnsService
Represents a service instance discovered via DNS-SD.
Inheritance
- Object
- DnsService
Remarks
The information contained in this class matches data returned by the PTR and SRV records used in DNS Service Discovery.
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method ClientX.DiscoverServices
- Method ClientX.EnumerateServicesAsync
Constructors
public DnsService() #Inherited Methods
Properties
public String ServiceName { get; set; } #Gets or sets the full PTR service name.
public String Target { get; set; } #Gets or sets the target host of the service.
public Int32 Port { get; set; } #Gets or sets the service port.
public Int32 Priority { get; set; } #Gets or sets the SRV record priority.
public Int32 Weight { get; set; } #Gets or sets the SRV record weight.
public Dictionary<String, String> Metadata { get; set; } #Gets or sets optional TXT metadata associated with the service.