Click or drag to resize
URLHelperAddHTTPToUrl Method
Adds HTTP protocol to URL if it's not contain HTTP or HTTPS.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static string AddHTTPToUrl(
	string url
)

Parameters

url
Type: SystemString
URL for which HTTP is added.

Return Value

Type: String
See Also