AspNetWebSocketOptions.RequireSameOrigin Property

.NET Framework (current version)
 

Gets or sets whether the URL that initiatedthe WebSocket connection corresponds to the current server.

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

public bool RequireSameOrigin { get; set; }

Property Value

Type: System.Boolean

true if the URL that initiatedthe WebSocket connection corresponds to the current server; otherwise, false.

.NET Framework
Available since 4.5
Return to top
Show: