Udostępnij za pośrednictwem


IWebSocketInformation2 Interface

Definition

Provides socket information on an IWebSocket object. This interface extends IWebSocketInformation with additional properties.

public interface class IWebSocketInformation2 : IWebSocketInformation
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(3458021838, 41399, 19779, 130, 105, 141, 91, 152, 27, 212, 122)]
struct IWebSocketInformation2 : IWebSocketInformation
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Guid(3458021838, 41399, 19779, 130, 105, 141, 91, 152, 27, 212, 122)]
public interface IWebSocketInformation2 : IWebSocketInformation
Public Interface IWebSocketInformation2
Implements IWebSocketInformation
Derived
Attributes
Implements

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Properties

BandwidthStatistics

Gets bandwidth information for network data transfer on an IWebSocket object.

(Inherited from IWebSocketInformation)
LocalAddress

Gets the IP address associated with an IWebSocket object.

(Inherited from IWebSocketInformation)
Protocol

Gets the WebSocket sub-protocol negotiated with the server during WebSocket handshake on a IWebSocket object.

(Inherited from IWebSocketInformation)
ServerCertificate

Gets the certificate provided by the server when a secure WebSocket connection has been established.

ServerCertificateErrors

Gets a list of the errors that occurred while establishing a secure WebSocket connection.

ServerCertificateErrorSeverity

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

ServerIntermediateCertificates

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

Applies to

See also