CheckUrl..::..EnsureProtocolDef Method
If url doesn't have a protocol, add default protocol.
Namespace:
SystemAssembly: MagicCMS.4.5 (in MagicCMS.4.5.dll)
Syntax
public static string EnsureProtocolDef( string url, CheckUrl..::..Protocol defaultProtocol )
Parameters
- url
- Type: String
The URL.
- defaultProtocol
- Type: System..::..CheckUrl..::..Protocol
The default protocol.