HttpRuntime.IsOnUNCShare Property

 
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 a value that indicates whether the application is mapped to a universal naming convention (UNC) share.

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

public static bool IsOnUNCShare {
	[AspNetHostingPermissionAttribute(SecurityAction.Demand, Level = AspNetHostingPermissionLevel.Low)]
	get;
}

Property Value

Type: System.Boolean

true if the application is mapped to a UNC share; otherwise, false.

.NET Framework
Available since 1.1
Return to top
Show: