'Declaration Public Overloads Sub Connect( _ ByVal serverAddress As IPEndPoint, _ ByVal authenticationMethod As AuthenticationMethod, _ ByVal verificationFlags As VerificationFlags, _ ByVal clientCertificate As Certificate _ )
'Usage Dim instance As FtpClient Dim serverAddress As IPEndPoint Dim authenticationMethod As AuthenticationMethod Dim verificationFlags As VerificationFlags Dim clientCertificate As Certificate instance.Connect(serverAddress, authenticationMethod, verificationFlags, clientCertificate)
public void Connect( IPEndPoint serverAddress, AuthenticationMethod authenticationMethod, VerificationFlags verificationFlags, Certificate clientCertificate )
Parameters
- serverAddress
- An System.Net.IPEndPoint representing the IP address and port of the FTP server to connect to. If 0 is specified for the port, 21 will be used.
- authenticationMethod
- The authentication method used to connect to the FTP server.
- verificationFlags
- The verification flags used to verify the FTP server's certificate.
- clientCertificate
- The FTP client's certificate.