AspNetWebSocketContext.Unvalidated Property

.NET Framework (current version)
 

Gets unvalidated versions of one or more field values that are submitted in an AspNetWebSocket message.

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

public virtual UnvalidatedRequestValuesBase Unvalidated { get; }

Property Value

Type: System.Web.UnvalidatedRequestValuesBase

The unvalidated values.

Exception Condition
NotImplementedException

The property is not implemented.

An unvalidated value has not been checked by ASP.NET request validation and might contain markup, script, or reserved characters. For more information about request validation, see UnvalidatedRequestValues.

Notes to Inheritors:

If you override this property in a derived class, you must manually check the data for potential cross-site scripting attacks.

.NET Framework
Available since 4.5
Return to top
Show: