The FileEncryption type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkFileEncryption
Creates a new instance of FileEncryption object.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkBeginDecrypt(Stream, Stream, AsyncCallback, Object)
Begins asynchronous Decrypt operation. Decrypts data from a source stream into a target stream.
Public methodSupported by the .NET Compact FrameworkBeginDecrypt(String, String, AsyncCallback, Object)
Begins asynchronous Decrypt operation. Decrypts a source file into a target file.
Public methodSupported by the .NET Compact FrameworkBeginEncrypt(Stream, Stream, AsyncCallback, Object)
Begins asynchronous Encrypt operation. Encrypts data from a source stream into a target stream.
Public methodSupported by the .NET Compact FrameworkBeginEncrypt(String, String, AsyncCallback, Object)
Begins asynchronous Encrypt operation. Encrypts a source file into a target file.
Public methodSupported by the .NET Compact FrameworkDecrypt(Stream, Stream)
Decrypts data from a source stream into a target stream.
Public methodSupported by the .NET Compact FrameworkDecrypt(String, String)
Decrypts a source file into a target file.
Public methodSupported by the .NET Compact FrameworkEncrypt(Stream, Stream)
Encrypts data from a source stream into a target stream.
Public methodSupported by the .NET Compact FrameworkEncrypt(String, String)
Encrypts a source file into a target file.
Public methodSupported by the .NET Compact FrameworkEndDecrypt
Ends an asynchronous BeginDecrypt operation.
Public methodSupported by the .NET Compact FrameworkEndEncrypt
Ends an asynchronous BeginEncrypt operation.
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSetPassword(array<Byte>[]()[][])
Sets password for encryption and decryption.
Public methodSupported by the .NET Compact FrameworkSetPassword(String)
Sets password for encryption and decryption.
Public methodSupported by the .NET Compact FrameworkSetPassword(array<Byte>[]()[][], KeyDerivationAlgorithm)
Sets password for encryption and decryption.
Public methodSupported by the .NET Compact FrameworkSetPassword(String, KeyDerivationAlgorithm)
Sets password for encryption and decryption.
Public methodSupported by the .NET Compact FrameworkToString
Returns a String that represents the current Object.
(Inherited from Object.)

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