Initializes a new instance of the Proxy class.

Namespace:  Rebex.Net
Assembly:  Rebex.Networking (in Rebex.Networking.dll)

Syntax

Visual Basic
Public Sub New ( _
	proxyType As ProxyType, _
	host As String, _
	port As Integer _
)
C#
public Proxy(
	ProxyType proxyType,
	string host,
	int port
)

Parameters

proxyType
Type: Rebex.Net..::..ProxyType
The type of the proxy.
host
Type: System..::..String
The hostname of the proxy server.
port
Type: System..::..Int32
The port of the proxy server.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also