HostingEnvironment.IsHosted Property
.NET Framework (current version)
Gets a value indicating whether the current application domain is being hosted by an ApplicationManager object.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System.Booleantrue if the application domain is hosted by an ApplicationManager object; otherwise, false.
.NET Framework
Available since 2.0
Available since 2.0
Show: