Url Constructor (Protocol, String, String)C# API
Initialises a new instance of the Url class, with the specified protocol, host and path.

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.4.0.26 (1.0.0.0)
Syntax

public Url(
	Protocol protocol,
	string host,
	string path
)

Parameters

protocol
Type: Facilita.Web Protocol
The protocol to use.
host
Type: System String
A dotted IP address or host name.
path
Type: System String
The path to be appended to the URL.
Examples

The following example demonstrates creating a Url from a protocol, host and path.
// This will have the default HTTP port (80)
Url url = new Url(Protocol.HTTP, "www.myCompany.co.uk", "index.php");
See Also