MagicCMS Documentation

CheckUrl..::..hasProtocol Method

Returns true if the url starts with the definition of a protocol

Namespace:  System
Assembly:  MagicCMS.4.5 (in MagicCMS.4.5.dll)

Syntax


public static bool hasProtocol(
	string url
)

Parameters

url
Type: String
URL of the document.

Return Value

true if protocol, false if not.