Share via


AllJoynAcceptSessionJoinerEventArgs.SessionPort Property

Definition

Important

The types in the Windows.Devices.AllJoyn namespace are deprecated, and might not be available in future versions of Windows. AllJoyn—sponsored by AllSeen Alliance—was an open-source discovery and communication protocol for Internet of Things (IoT) scenarios such as turning lights on and off, and reading temperatures. For alternatives, such as IoTivity Lite and IoTivity, refer to the iotivity.org website.

The session port being used to connect to the session.

public:
 property unsigned short SessionPort { unsigned short get(); };
uint16_t SessionPort();
/// [get: Windows.Foundation.Metadata.Deprecated("AllJoynAcceptSessionJoinerEventArgs has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
uint16_t SessionPort();
public ushort SessionPort { get; }
public ushort SessionPort { [Windows.Foundation.Metadata.Deprecated("AllJoynAcceptSessionJoinerEventArgs has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")] get; }
var uInt16 = allJoynAcceptSessionJoinerEventArgs.sessionPort;
Public ReadOnly Property SessionPort As UShort

Property Value

UInt16

unsigned short

uint16_t

The session port number.

Attributes

Windows requirements

App capabilities
allJoyn

Applies to