Dela via


DnssdServiceInstance.Port Property

Definition

Gets or sets the port number used by this DnssdServiceInstance.

public:
 property unsigned short Port { unsigned short get(); void set(unsigned short value); };
uint16_t Port();

void Port(uint16_t value);
public ushort Port { get; set; }
var uInt16 = dnssdServiceInstance.port;
dnssdServiceInstance.port = uInt16;
Public Property Port As UShort

Property Value

UInt16

unsigned short

uint16_t

The port number used by this service instance.

Applies to