Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

StreamSocketListenerInformation class

Provides socket information on a StreamSocketListener object.

Syntax


public ref class StreamSocketListenerInformation sealed 

Members

The StreamSocketListenerInformation class has these types of members:

Properties

The StreamSocketListenerInformation class has these properties.

PropertyAccess typeDescription

LocalPort

Read-onlyGet the local TCP port number associated with a StreamSocketListener object.

 

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.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Capabilities

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.winmd

Capabilities

ID_CAP_NETWORKING [Windows Phone]

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Version(0x06020000)]

See also

Other resources
Connecting with sockets (HTML)
Connecting with sockets (XAML)
How to use advanced socket controls (HTML)
How to use advanced socket controls (XAML)
Reference
Object
StreamSocketListener
StreamSocketListener.Information
Samples
Bluetooth Rfcomm Chat sample
ControlChannelTrigger StreamSocket sample
Proximity sample
StreamSocket sample

 

 

Show:
© 2015 Microsoft