Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Overridable Function CreateEncryptor As ICryptoTransform
public virtual ICryptoTransform CreateEncryptor()
A symmetric encryptor object.
If the current Key property is nulla null reference (Nothing in Visual Basic), the GenerateKey method is called to create a new random Key. If the current IV property is nulla 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.
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
Supported in: Windows Phone OS 7.0
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.