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

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

public Url(
	Protocol protocol,
	IpEndPoint ipEndPoint

The following example demonstrates creating a Url from a protocol and IpEndPoint (host and port).
IpEndPoint myServer = new IpEndPoint("www.myCompany.co.uk", 8080);
Url url = new Url(Protocol.HTTP, myServer);
// This refers to http://www.myCompany.co.uk:8080
See Also