StreamSocketListenerInformation StreamSocketListenerInformation StreamSocketListenerInformation StreamSocketListenerInformation Class

Provides socket information on a StreamSocketListener object.

Syntax

Declaration

public sealed class StreamSocketListenerInformationpublic sealed class StreamSocketListenerInformationPublic NotInheritable Class StreamSocketListenerInformation

Remarks

The StreamSocketListenerInformation class retrieves information on a StreamSocketListener and can be called any time after the StreamSocketListener has been created.

A StreamSocketListenerInformation object is automatically created with the parent StreamSocketListener object. The Information property provides access to the associated StreamSocketListenerControl object.

Properties summary

Get the local TCP port number associated with a StreamSocketListener object.

Properties

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Capabilities

ID_CAP_NETWORKING [Windows Phone]

Attributes

Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute

Details

Assembly

Windows.Networking.Sockets.dll