ProtectedData.TryUnprotect Method
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.
C#
public static bool TryUnprotect(ReadOnlySpan<byte> encryptedData, System.Security.Cryptography.DataProtectionScope scope, Span<byte> destination, out int bytesWritten, ReadOnlySpan<byte> optionalEntropy = default);
static member TryUnprotect : ReadOnlySpan<byte> * System.Security.Cryptography.DataProtectionScope * Span<byte> * int * ReadOnlySpan<byte> -> bool
Public Shared Function TryUnprotect (encryptedData As ReadOnlySpan(Of Byte), scope As DataProtectionScope, destination As Span(Of Byte), ByRef bytesWritten As Integer, Optional optionalEntropy As ReadOnlySpan(Of Byte) = Nothing) As Boolean
- encryptedData
- ReadOnlySpan<Byte>
- scope
- DataProtectionScope
- bytesWritten
- Int32
- optionalEntropy
- ReadOnlySpan<Byte>
Toode | Versioonid |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
Windows Desktop | 10 |
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.
Toote „.NET“ tagasiside
.NET on avatud lähtekoodiga projekt. Tagasiside andmiseks valige link: