AspNetWebSocketContext.FilePath Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on 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

The property is not implemented.

As an example of a virtual path, for the URL, the value of this property is /virdir/page.html.

.NET Framework
Available since 4.5
Return to top