Answer the question
In order to leave comments, you need to log in
Why doesn't decryption work?
var decodedData = System.Security.Cryptography.ProtectedData.Unprotect(encryptedData, null, System.Security.Cryptography.DataProtectionScope.CurrentUser);
An unhandled exception of type 'System.Security.Cryptography.CryptographicException' occurred in System.Security.dll
Additional information: Параметр задан неверно.
Answer the question
In order to leave comments, you need to log in
Try the example code. Perhaps you added some parameter when encrypting.
https://docs.microsoft.com/ru-ru/dotnet/api/system...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question