Adds the current request's protocol ("http://" or "https://") to the given URL, if it does not already have a protocol specified

Namespace: DotNetNuke.Common
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static string AddHTTP(
	string strURL
)
Visual Basic
Public Shared Function AddHTTP ( 
	strURL As String
) As String

Parameters

strURL
Type: System..::..String
The URL

Return Value

The formatted URL

See Also