StreamSocketInformation class

Expand
This topic has not yet been rated - Rate this topic

StreamSocketInformation class

[This documentation is preliminary and is subject to change.]

Applies to: Metro style apps | desktop apps

Provides socket information on a StreamSocket object.

Syntax


var streamSocketInformation = StreamSocket.Information;

Attributes

DualApiPartitionAttribute()
MarshalingBehaviorAttribute(Agile)
VersionAttribute(NTDDI_WIN8)

Members

The StreamSocketInformation class has these types of members:

Methods

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

Properties

The StreamSocketInformation class has these properties.

PropertyAccess typeDescription

BandwidthStatistics

Read-onlyGets bandwidth information for network data transfer on a StreamSocket object.

LocalAddress

Read-onlyGets the local IP address associated with a StreamSocket object.

LocalPort

Read-onlyGet the TCP port number associated with a StreamSocket.

ProtectionLevel

Read-onlyGets the protection level that represents the integrity and encryption set on a StreamSocket object.

RemoteAddress

Read-onlyGet the IP address or hostname of the remote network destination associated with a StreamSocket object.

RemoteHostName

Read-onlyGet the hostname or IP address of the remote network destination associated with a StreamSocket object.

RemotePort

Read-onlyGet the TCP port number or service name of the remote network destination associated with a StreamSocket object.

RemoteServiceName

Read-onlyGet the service name or TCP port number of the remote network destination associated with a StreamSocket object.

RoundTripTimeStatistics

Read-onlyGets round trip time information for a StreamSocket object.

SessionKey

Read-onlyGet a byte array that represents the private shared secret exchanged by proximity devices.

 

Remarks

The StreamSocketInformation class provides information about a StreamSocket. This class retrieves information on a StreamSocket and can be called any time after the StreamSocket has been created.

Requirements

Minimum supported client

Windows 8 Release Preview

Minimum supported server

Windows Server 2012

Namespace

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

Metadata

Windows.winmd

DLL

Windows.Networking.dll

See also

Object
StreamSocket
StreamSocket.Information
How to use advanced socket controls

 

 

Build date: 5/22/2012

Did you find this helpful?
(1500 characters remaining)
Community Additions ADD