Description
We have a library that uses ProtectedData.Protect. If we load this library through reflection, we get PlatformNotSupportedException, on Windows. If we add the reference of ProtectedData directly in the app, that loads the library, things work fine.
Configuration
- Using it in net core 3.1
- Tried in Windows 10, x64
Regression?
- Here is the sample application to reproduce the issue-
SampleApp.zip
Let me know if you need any other information.
#System.Security.Cryptography.ProtectedData
Description
We have a library that uses ProtectedData.Protect. If we load this library through reflection, we get PlatformNotSupportedException, on Windows. If we add the reference of ProtectedData directly in the app, that loads the library, things work fine.
Configuration
Regression?
SampleApp.zip
Let me know if you need any other information.
#System.Security.Cryptography.ProtectedData