RijndaelManagedTransform Class
.NET Framework Class Library
RijndaelManagedTransform Class

Performs a cryptographic transformation of data using the Rijndael algorithm. This class cannot be inherited.

Namespace:  System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)
Visual Basic
<ComVisibleAttribute(True)> _
Public NotInheritable Class RijndaelManagedTransform _
    Implements ICryptoTransform, IDisposable
C#
[ComVisibleAttribute(true)]
public sealed class RijndaelManagedTransform : ICryptoTransform, 
    IDisposable
Visual C++
[ComVisibleAttribute(true)]
public ref class RijndaelManagedTransform sealed : ICryptoTransform, 
    IDisposable
F#
[<SealedAttribute>]
[<ComVisibleAttribute(true)>]
type RijndaelManagedTransform =  
    class
        interface ICryptoTransform
        interface IDisposable
    end
NoteNote

Using this class is not recommended. A better practice is to use RijndaelManaged with a CryptoStream object. The CryptoStream object handles the padding issues that can occur when using RijndaelManagedTransform directly. For an example, see the RijndaelManaged class.

Both the CreateEncryptor and CreateDecryptor methods return an instance of the RijndaelManagedTransform class that is initialized with the key information of the current RijndaelManaged object. To encrypt or decrypt data using the Rijndael algorithm, pass the RijndaelManagedTransform object returned by these methods to a CryptoStream object.

System..::.Object
  System.Security.Cryptography..::.RijndaelManagedTransform
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
Page view tracker