SymmetricAlgorithm.CreateEncryptor Method
Silverlight
Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
If the current Key property is null, the GenerateKey method is called to create a new random Key. If the current IV property is null, 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.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.