URLHelperGetProtocol Method |
Returns protocol from url.
e.g. http, https, ftp, ...
If no protocol found, null is returned.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax public static string GetProtocol(
string url
)
Parameters
- url
- Type: SystemString
Url that may contain any protocol in valid format
Return Value
Type:
StringSee Also