Xceed .NET Libraries Documentation
Xceed.Compression Assembly / Xceed.Compression Namespace / ZCryptStream Class / ZCryptStream Constructor / ZCryptStream Constructor(Stream,String,Encoding,Int64,Boolean)
Inner stream.The encryption password.The text encoding to be used on encryption password.The user supplied encryption seed.True if this stream will encrypt only.


In This Topic
    ZCryptStream Constructor(Stream,String,Encoding,Int64,Boolean)
    In This Topic
    Initializes the ZCryptStream that performs the encryption or decryption of the inner stream.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal inner As Stream, _
       ByVal password As String, _
       ByVal passwordEncoding As Encoding, _
       ByVal userSeed As Long, _
       ByVal encrypt As Boolean _
    )
    'Usage
     
    
    Dim inner As Stream
    Dim password As String
    Dim passwordEncoding As Encoding
    Dim userSeed As Long
    Dim encrypt As Boolean
     
    Dim instance As New ZCryptStream(inner, password, passwordEncoding, userSeed, encrypt)

    Parameters

    inner
    Inner stream.The encryption password.The text encoding to be used on encryption password.The user supplied encryption seed.True if this stream will encrypt only.
    password
    passwordEncoding
    userSeed
    encrypt
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Standard: netstandard2.0, netstandard2.1

    .NET Framework: net20, net35, net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also