HttpRuntime::IsOnUNCShare Property


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)

property bool IsOnUNCShare {
	[AspNetHostingPermissionAttribute(SecurityAction::Demand, Level = AspNetHostingPermissionLevel::Low)]
	static bool 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