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

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

public Url(
	Protocol protocol,
	string host
)

Parameters

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

The following example demonstrates creating a Url from a protocol and host.
// These will have the default HTTP port (80)
Url url1 = new Url(Protocol.HTTP, "www.myCompany.co.uk");
Url url2 = new Url(Protocol.HTTP, "192.168.01.123");
See Also