Was this page helpful?
Additional feedback?
1500 characters remaining
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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft