UnvalidatedRequestValues.Url Property

.NET Framework (current version)
 
System_CAPS_noteNote

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

Gets the URL data for the request without triggering ASP.NET request validation.

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

member Url : Uri with get

Property Value

Type: System.Uri

An object that contains the URL data for the request.

System_CAPS_security Security Note

If you use this property, you must manually check the data for potential cross-site scripting attacks.

You can retrieve URL data such as the port number, host name, path information, and data about the user from the Uri object that this property returns.

.NET Framework
Available since 4.5
Return to top
Show: