locked
Differences in validating Certificate RRS feed

  • Question

  • User248267340 posted

    I'm a novice at coding for certificates, but learning quickly.

    I installed a certificate to the current user, and wrote C# code in Visual Studio 2019. Everything runs great.

    However, when I run Visual Studio as the administrator, it suddenly can't find the certificate. I get

         certificateCollection.Count = 0

    The certificate is in Current User/Personal folder and in trusted Root Certification Authority.

    Anyone know how to fix this scenario?

    Tuesday, April 20, 2021 4:31 PM

Answers