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

Syntax

Visual Basic
<ObsoleteAttribute("This constructor has been deprecated. Please use FtpProxy() constructor and set the properties instead.",  _
	False)> _
Public Sub New ( _
	proxyType As FtpProxyType, _
	host As String, _
	port As Integer, _
	credentials As NetworkCredential _
)
C#
[ObsoleteAttribute("This constructor has been deprecated. Please use FtpProxy() constructor and set the properties instead.", 
	false)]
public FtpProxy(
	FtpProxyType proxyType,
	string host,
	int port,
	NetworkCredential credentials
)

Parameters

proxyType
Type: Rebex.Net..::..FtpProxyType
host
Type: System..::..String
port
Type: System..::..Int32
credentials
Type: System.Net..::..NetworkCredential

Version Information

.NET Compact Framework

Obsolete (compiler warning) in 3.9, 3.5

See Also