TechNet
Export (0) Print
Expand All

HostingEnvironment.SiteName Property

 

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
Show:
© 2016 Microsoft