Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Client.FtpDLX
- Properties
- Authentication
- Blocking
- BufferSize
- Certificate
- Compression
- DirFormat
- DirItems
- Encryption
- Hostname
- KeepAlive
- LastError
- ListItem
- ListParams
- LocalPath
- Login
- MaxTransferRate
- Passive
- Password
- Port
- PreserveDates
- PrivateKey
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- PublicKeyOpenSSH
- PublicKeySSH
- RemotePath
- Resume
- SecureMethod
- SmartGet
- SmartPut
- State
- StrictHost
- Tag
- Timeout
- Timezone
- TransferMode
- TransferRate
- TransferTime
- UseIPv6
- Version
- Methods
- Events
- Properties
- WeOnlyDo.Client.DirItemsCollection
- WeOnlyDo.Client.DirItem
- How to get support?
Authentication property
Determines type of authentication.
Type
Authentications enumeration.Syntax
- C#
- VB.NET
Authentications Authentication {get; set; };
Property Authentication As Authentications
Remarks
Authentication property allows you to select type of authentication you want to use with the server. Most commonly, you will choose Password authentication, which requires Login and Password properties to be set before Connect method is called. Once wodFtpDLX.NET connects to the server, it will authenticate you ONLY with username and password.If you prefer to authenticate yourself using your Certificate and PrivateKey (server MUST have your public key in that case), you should set this property to Certificate, and you should set Login and Certificate properties accordingly. If you're using SFTP protocol, PrivateKey property must be set. If SSL protocols are used, you must set both PrivateKey and Certificate properties.
If you allow any of these authentications to take place, set this property to Both value. In this case wodFtpDLX.NET will try to use both methods. Different server implementations may require either one or both of the authentications are successful to login to the server. Please note that in this case you must set all three properties: Login, Password and Certificate.