Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WebSocketNegotiatedProtocol Property

HttpContext.WebSocketNegotiatedProtocol Property

.NET Framework 4.6 and 4.5

Gets the negotiated protocol that was sent from the server to the client for an AspNetWebSocket connection.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

public string WebSocketNegotiatedProtocol { get; }

Property Value

Type: System.String
The negotiated protocol.

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft