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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for