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.
You have to rewrite all existing code to use
X509Store(someStoreName,StoreLocation.LocalMachine)overload. There is no way to propagate certificate fromLocalMachine\MytoCurrentUser\My.