UnvalidatedRequestValues.Url Property

Definition

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

public:
 property Uri ^ Url { Uri ^ get(); };
public Uri Url { get; }
member this.Url : Uri
Public ReadOnly Property Url As Uri

Property Value

Uri

An object that contains the URL data for the request.

Remarks

Important

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.

Applies to