Share via


HttpWebRequest.RequestUri Property

Gets the original Uniform Resource Identifier (URI) of the request.

Namespace: System.Net
Assembly: System (in system.dll)

Syntax

public override Uri RequestUri { get; }

Property Value

A URI that contains the URI of the Internet resource passed to the WebRequest.Create(Uri) method.

Remarks

The URI object was created by the constructor and is always non-null. The URI object will always be the base URI, because automatic re-directs aren't supported.

Version Information

Available in the .NET Micro Framework versions 4.0 and 4.1.

See Also

Reference

HttpWebRequest Class
HttpWebRequest Members
System.Net Namespace