HostingEnvironment.SiteName Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the name of the site.

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

public static string SiteName { get; }

Property Value

Type: System.String

The name of the site.

.NET Framework
Available since 2.0
Return to top