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.Internal
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
string AddHTTP(
	string strURL
)
Visual Basic
Function AddHTTP ( 
	strURL As String
) As String

Parameters

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

Return Value

The formatted URL

See Also