StreamSocketInformation StreamSocketInformation StreamSocketInformation StreamSocketInformation StreamSocketInformation Class

Definition

Provides socket information on a StreamSocket object.

public : sealed class StreamSocketInformation : IStreamSocketInformation, IStreamSocketInformation2
struct winrt::Windows::Networking::Sockets::StreamSocketInformation : IStreamSocketInformation, IStreamSocketInformation2
public sealed class StreamSocketInformation : IStreamSocketInformation, IStreamSocketInformation2
Public NotInheritable Class StreamSocketInformation Implements IStreamSocketInformation, IStreamSocketInformation2
// 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
bluetooth.rfcomm ID_CAP_NETWORKING [Windows Phone]

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.

A StreamSocketInformation object is automatically created with the parent StreamSocket object. The StreamSocket.Information property provides access to the associated StreamSocketInformation object.

Properties

BandwidthStatistics BandwidthStatistics BandwidthStatistics BandwidthStatistics BandwidthStatistics

Gets bandwidth information for network data transfer on a StreamSocket object.

Note that the returned statistics are based on extended TCP statistics, which are enabled by default on Client versions of Windows, but disabled by default for performance reasons on Server versions of Windows. If extended TCP statistics are not available, all returned numerical statistics are set to 0, and boolean statistics are set to false.

LocalAddress LocalAddress LocalAddress LocalAddress LocalAddress

Gets the local IP address associated with a StreamSocket object.

LocalPort LocalPort LocalPort LocalPort LocalPort

Get the TCP port number associated with a StreamSocket.

ProtectionLevel ProtectionLevel ProtectionLevel ProtectionLevel ProtectionLevel

Gets the protection level that represents the integrity and encryption set on a StreamSocket object.

RemoteAddress RemoteAddress RemoteAddress RemoteAddress RemoteAddress

Get the IP address or hostname of the remote network destination associated with a StreamSocket object.

RemoteHostName RemoteHostName RemoteHostName RemoteHostName RemoteHostName

Get the hostname or IP address of the remote network destination associated with a StreamSocket object.

RemotePort RemotePort RemotePort RemotePort RemotePort

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

RemoteServiceName RemoteServiceName RemoteServiceName RemoteServiceName RemoteServiceName

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

RoundTripTimeStatistics RoundTripTimeStatistics RoundTripTimeStatistics RoundTripTimeStatistics RoundTripTimeStatistics

Gets round trip time information for a StreamSocket object.

Note that the returned statistics are based on extended TCP statistics, which are enabled by default on Client versions of Windows, but disabled by default for performance reasons on Server versions of Windows. If extended TCP statistics are not available, all returned numerical statistics are set to 0, and boolean statistics are set to false.

ServerCertificate ServerCertificate ServerCertificate ServerCertificate ServerCertificate

Gets the certificate from the server when making an SSL connection with a StreamSocket.

ServerCertificateErrors ServerCertificateErrors ServerCertificateErrors ServerCertificateErrors ServerCertificateErrors

Gets the list of errors that occurred making an SSL connection with a StreamSocket.

ServerCertificateErrorSeverity ServerCertificateErrorSeverity ServerCertificateErrorSeverity ServerCertificateErrorSeverity ServerCertificateErrorSeverity

Gets the category of an error that occurred making an SSL connection with a StreamSocket.

ServerIntermediateCertificates ServerIntermediateCertificates ServerIntermediateCertificates ServerIntermediateCertificates ServerIntermediateCertificates

Gets the intermediate certificates sent by the server during SSL negotiation when making an SSL connection with a StreamSocket.

SessionKey SessionKey SessionKey SessionKey SessionKey

Get a byte array that represents the private shared secret exchanged by proximity devices.

See Also