Xceed .NET Libraries Documentation
Xceed.Compression Assembly / Xceed.Compression Namespace / AesEncryptionStream Class / AesEncryptionStream Constructor / AesEncryptionStream Constructor(Stream,Rfc2898DeriveBytesManager,String,Encoding,Int32,Boolean,Boolean)


In This Topic
    AesEncryptionStream Constructor(Stream,Rfc2898DeriveBytesManager,String,Encoding,Int32,Boolean,Boolean)
    In This Topic
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal innerStream As Stream, _
       ByVal rfc2898DeriveBytesManager As Rfc2898DeriveBytesManager, _
       ByVal password As String, _
       ByVal passwordEncoding As Encoding, _
       ByVal strength As Integer, _
       ByVal writing As Boolean, _
       ByVal computeAuthenticationCode As Boolean _
    )
    'Usage
     
    Dim innerStream As Stream
    Dim rfc2898DeriveBytesManager As Rfc2898DeriveBytesManager
    Dim password As String
    Dim passwordEncoding As Encoding
    Dim strength As Integer
    Dim writing As Boolean
    Dim computeAuthenticationCode As Boolean
     
    Dim instance As New AesEncryptionStream(innerStream, rfc2898DeriveBytesManager, password, passwordEncoding, strength, writing, computeAuthenticationCode)

    Parameters

    innerStream
    rfc2898DeriveBytesManager
    password
    passwordEncoding
    strength
    writing
    computeAuthenticationCode
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also