SymmetricAlgorithm.CreateEncryptor Method ()
Assembly: mscorlib (in mscorlib.dll)
If the current Key property is a null reference (Nothing in Visual Basic), the GenerateKey method is called to create a new random Key. If the current IV property is a null reference (Nothing in Visual Basic), the GenerateIV method is called to create a new random IV.
Use the CreateDecryptor overload with the same signature to decrypt the result of this method.
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.