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: 9.5.5.77 (1.0.0.0)
Syntax

public Url(
	Protocol protocol,
	IpEndPoint ipEndPoint
)
Examples

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