Connects to the specified URI. If the path specified by the URI ends with a
/ then the working directory is changed to the path specified.
Namespace: System.Net.FtpClient
Assembly: System.Net.FtpClient (in System.Net.FtpClient.dll) Version: 1.0.5064.17461
Syntax
| C# |
|---|
public static FtpClient Connect(
Uri uri,
bool checkcertificate
) |
| Visual Basic |
|---|
Public Shared Function Connect (
uri As Uri,
checkcertificate As Boolean
) As FtpClient |
| Visual C++ |
|---|
public:
static FtpClient^ Connect(
Uri^ uri,
bool checkcertificate
) |
Return Value
Type:
FtpClientFtpClient object
See Also