The FileEncryption type exposes the following members.

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkEncryptionAlgorithm
Gets or sets the encryption algorithm used for encryption and decryption.
Public propertySupported by the .NET Compact FrameworkEncryptionKeySize
Gets or sets the encryption key size (null indicates default key size).
Public propertySupported by the .NET Compact FrameworkOverwriteExistingFile
Get or sets a value indicating whether to overwrite existing target files.
Public propertySupported by the .NET Compact FrameworkXtsBlockSize
Gets or sets XTS algorithm block size in bytes. Must be multiple of 16. Default value is 65536, maximum number is 1048576. This is only used for AesXts. Use smaller buffer if you read very small parts of a stream from different places, or use larger buffer if you do sequential reads of large blocks. Setting this value might negatively impact the performance.

See Also