Initializes a new instance of the FtpProxy class with the specified type, hostname, and port.
Namespace:
Rebex.Net
Assembly:
Rebex.Ftp (in Rebex.Ftp.dll)
Syntax
Visual Basic |
---|
Public Sub New ( _ proxyType As FtpProxyType, _ host As String, _ port As Integer _ ) |
C# |
---|
public FtpProxy( FtpProxyType proxyType, string host, int port ) |
Parameters
- proxyType
- Type: Rebex.Net..::..FtpProxyType
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.