HttpContext::WebSocketNegotiatedProtocol Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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)

property String^ WebSocketNegotiatedProtocol {
	String^ get();

Property Value

Type: System::String^

The negotiated protocol.

.NET Framework
Available since 4.5
Return to top