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

Applies to Windows and Windows Phone

Provides socket information on a StreamSocketListener object.

Syntax


Public NotInheritable Class StreamSocketListenerInformation

Attributes

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

Members

The StreamSocketListenerInformation class has these types of members:

Methods

The StreamSocketListenerInformation class inherits methods from the Object class (C#/VB/C++).

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

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

DLL

Windows.Networking.dll

Capabilities

ID_CAP_NETWORKING [Windows Phone]

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:
© 2014 Microsoft