DataProtector::Protect Method (array<Byte>^)
.NET Framework (current version)
Protects the specified user data.
Assembly: System.Security (in System.Security.dll)
Parameters
- userData
-
Type:
array<System::Byte>^
The data to be protected.
| Exception | Condition |
|---|---|
| ArgumentNullException | userData is null. |
.NET Framework
Available since 4.5
Available since 4.5
Show: