ProtectedDataCookieTransform.Encode(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.
Protects (encrypts) the specified data.
public:
override cli::array <System::Byte> ^ Encode(cli::array <System::Byte> ^ value);
public override byte[] Encode(byte[] value);
override this.Encode : byte[] -> byte[]
Public Overrides Function Encode (value As Byte()) As Byte()
Parameters
- value
- Byte[]
The data to be protected (encrypted).
Returns
The protected (encrypted) data.
Exceptions
value
is null
.
value
contains zero bytes.