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)

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: