Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


DataProtector.Protect(Byte[]) Method

Definition

Protects the specified user data.

C#
public byte[] Protect(byte[] userData);

Parameters

userData
Byte[]

The data to be protected.

Returns

Byte[]

A byte array that contains the encrypted data.

Exceptions

userData is null.

Applies to

Termék Verziók
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1