AspNetWebSocketContext.FilePath 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 virtual path of the requested file.

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

public virtual string FilePath { get; }

Property Value

Type: System.String

The virtual path.

Exception Condition
NotImplementedException

The property is not implemented.

As an example of a virtual path, for the URL http://www.contoso.com/virdir/page.html/tail, the value of this property is /virdir/page.html.

.NET Framework
Available since 4.5
Return to top
Show: