[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Assembly: System.Security (in System.Security.dll)
If the current Key property is nullNothingnullptrunita null reference (Nothing in Visual Basic), the GenerateKey method is called to create a new random Key. If the current IV property is nullNothingnullptrunita 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.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.