System.Web.HttpRequest.PhysicalPath Property

Gets the physical file system path corresponding to the requested URL.

Syntax

public string PhysicalPath { get; }

Value

Documentation for this section has not yet been entered.

Remarks

In redirect scenarios using HttpServerUtility.Execute(string) and HttpServerUtility.Transfer(string, bool), the HttpRequest.PhysicalPath property returns the path to the original page. To find the physical path of the currently executing page use the HttpRequest.MapPath(string, string, bool) method with the input argument set as the HttpRequest.CurrentExecutionFilePath property.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0