Click or drag to resize
SiteInfoProviderGetSiteNameFromUrlInternal Method (String, String)

Note: This API is now obsolete.

Returns site name from URL.

Namespace: CMS.SiteProvider
Assembly: CMS.SiteProvider (in CMS.SiteProvider.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("This method is obsolete. Use GetSiteNameFromUrlInternal(string) instead.")]
protected virtual string GetSiteNameFromUrlInternal(
	string url,
	string appPath
)

Parameters

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

Return Value

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