Share via


SymmetricAlgorithm Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the SymmetricAlgorithm class.

Namespace:  System.Security.Cryptography
Assembly:  System.Security (in System.Security.dll)

Syntax

'Declaration
Protected Sub New ( _
    session As Session, _
    ownsSession As Boolean _
)
protected SymmetricAlgorithm(
    Session session,
    bool ownsSession
)
protected:
SymmetricAlgorithm(
    Session^ session, 
    bool ownsSession
)
new : 
        session:Session * 
        ownsSession:bool -> SymmetricAlgorithm
protected function SymmetricAlgorithm(
    session : Session, 
    ownsSession : boolean
)

Parameters

  • ownsSession
    Type: System. . :: . .Boolean
    true if the session should be closed by this base class; otherwise, false.

.NET Framework Security

See Also

Reference

SymmetricAlgorithm Class

System.Security.Cryptography Namespace