Class EncryptedFileStream
IContentFileStream implementation that owns and disposes of both the content stream and related cryptographic objects for encryption/decryption.
Inherited Members
Namespace: Tableau.Migration.Content.Files
Assembly: Tableau.Migration.dll
Syntax
public class EncryptedFileStream : ContentFileStream, IContentFileStream, IAsyncDisposable
Constructors
EncryptedFileStream(IContentFileStream, IDisposable, ICryptoTransform, CryptoStream)
Creates a new EncryptedFileStream object.
Declaration
public EncryptedFileStream(IContentFileStream innerStream, IDisposable encryption, ICryptoTransform transform, CryptoStream stream)
Parameters
Type | Name | Description |
---|---|---|
IContentFileStream | innerStream | The inner file stream. |
IDisposable | encryption | The encryption object to take ownership of. |
ICryptoTransform | transform | |
CryptoStream | stream |
Methods
DisposeAsync()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.
Declaration
public override ValueTask DisposeAsync()
Returns
Type | Description |
---|---|
ValueTask | A task that represents the asynchronous dispose operation. |