IDataProtector.Protect(Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Cryptographically protects a piece of plaintext data.
public:
cli::array <System::Byte> ^ Protect(cli::array <System::Byte> ^ plaintext);
public byte[] Protect (byte[] plaintext);
abstract member Protect : byte[] -> byte[]
Public Function Protect (plaintext As Byte()) As Byte()
Parameters
- plaintext
- Byte[]
The plaintext data to protect.
Returns
Byte[]
The protected form of the plaintext data.