Back to product page

Encryption property


Encryption method that will be used for communication.

Type

Encryptions enumeration value.

Syntax

  • C#
  • VB.NET
Encryptions Encryption {get; set; };

Property Encryption As Encryptions

Remarks

When set to anything else than Auto, during negotiation of secure connection between wodSFTP.NET and remote server, wodSFTP.NET will allow only specified encryption algorithm to be used for encrypted data transmission. If this property is set to Auto (it is by default), any known (both by wodSFTP.NET and remote server) encryption may be used.

wodSFTP.NET implementation forces selection of encryption algorithms (for Auto value) in this order:
For SSH2 connection first AES (any type of it) will be negotiated. If it fails, TripleDES will be used. If not available, Blowfish is selected. If it is also not available, connection will be dropped. DES will not be negotiated at all because most of (new) servers don't support it anyway (due to it's insecurity).

Warning: changing this property also internally changes EncryptionList property.

Platforms

Windows