This property gets or sets the credentials used to communicate with the FTP server.
[Visual Basic] Public Property FtpCredentials
As System.Net.ICredentials
[C#] public System.Net.ICredentials
FtpCredentials {get; set;}
Property Value
An ICredentials instance; otherwise, a null reference (Nothing in Visual Basic) if the property has not been set.
Explanation
The FtpCredentials property gets or sets the credentials used to communicate with the FTP server.