Reputation: 73
My applications uses the method X509Store(someStoreName). someStoreName is custom store name which will be removed. And because of this we need to access all the certificate from MY/Personal store which are installed on location LocalMachine. I provided the access to certificate in MMC for user id to make it accessible using X509Store(someStoreName). But I am still not able to find it, what should id do for finding it.
X509Store(someStoreName,StoreLocation.LocalMachine) this solution is working but I cant use it because of heavy dependency of X509Store(someStoreName) in our code base.
Upvotes: 0
Views: 1384
Reputation: 13974
You have to rewrite all existing code to use X509Store(someStoreName,StoreLocation.LocalMachine)
overload. There is no way to propagate certificate from LocalMachine\My
to CurrentUser\My
.
Upvotes: 1