Click or drag to resize
SiteInfoProviderGetSiteNameFromUrlInternal Method
Returns site name from URL.

Namespace: CMS.SiteProvider
Assembly: CMS.SiteProvider (in CMS.SiteProvider.dll) Version: 12.0.0
Syntax
C#
protected virtual string GetSiteNameFromUrlInternal(
	string url,
	string appPath = null
)

Parameters

url
Type: SystemString
URL of the site
appPath (Optional)
Type: SystemString
Application path.

Return Value

Type: String
Remarks
If no appPath is provided, value from ApplicationPath is used.
See Also