0

I am trying to execute the following code

X509Store someStore = new X509Store(StoreName.Root);

Getting this error

  {System.Security.Cryptography.X509Certificates.X509Store}
    Certificates: {System.Security.Cryptography.X509Certificates.X509Certificate2Collection}
    IsOpen: false
    Location: CurrentUser
    Name: "Root"
    StoreHandle: Exception of type 'System.Security.Cryptography.CryptographicException' was thrown
    _storePal: null

Any help is appreciated!

ProgrammingLlama
  • 36,677
  • 7
  • 67
  • 86

0 Answers0