StreamSocketListenerInformation StreamSocketListenerInformation StreamSocketListenerInformation StreamSocketListenerInformation StreamSocketListenerInformation Class

Definition

Provides socket information on a StreamSocketListener object.

public : sealed class StreamSocketListenerInformation
struct winrt::Windows::Networking::Sockets::StreamSocketListenerInformation
public sealed class StreamSocketListenerInformation
Public NotInheritable Class StreamSocketListenerInformation
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
ID_CAP_NETWORKING [Windows Phone]

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 StreamSocketListener.Information property provides access to the associated StreamSocketListenerControl object.

Properties

LocalPort LocalPort LocalPort LocalPort LocalPort

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

See also