VisioForge (c) 2025

Search Results for

    Class VideoDecryptorStream

    New alternative cross-platform video file decryptor that provides a stream. Implements the IDisposable.

    Inheritance
    object
    VideoDecryptorStream
    Implements
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: VisioForge.Core.VideoEncryption
    Assembly: VisioForge.Core.dll
    Syntax
    public class VideoDecryptorStream : IDisposable

    Methods

    DecryptToStream(Stream, string, byte[])

    Decrypts to stream.

    Declaration
    public Stream DecryptToStream(Stream encrypted, string key, byte[] salt = null)
    Parameters
    Type Name Description
    Stream encrypted

    The encrypted.

    string key

    The key.

    byte[] salt

    The salt.

    Returns
    Type Description
    Stream

    Stream.

    Exceptions
    Type Condition
    ArgumentException

    Cannot encrypt with empty key

    ArgumentException

    Cannot encrypt with empty salt

    ArgumentException

    Cannot decrypt empty or null byte array

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()

    Dispose(bool)

    Releases unmanaged and - optionally - managed resources.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    ~VideoDecryptorStream()

    Finalizes an instance of the VideoDecryptorStream class.

    Declaration
    protected ~VideoDecryptorStream()

    Implements

    IDisposable

    See Also

    IDisposable