I'm trying to read the LocalMachine certificate store in my c# program. When I read the user cert tore it reads successfully the store however when I try to read the LocalMachine store it gets no result. It seems a permission problem but I don't get any
error messages just got no result. Anyway I don't get a null value but the "Mycert.count" equals 0.
I tryed the following code:
X509Store myStore = new X509Store(StoreName.My, StoreLocation.LocalMachine);
Could somebody help me how can I read the local machine certificate store without giving the service user administrator permission?
I'm not a development! I'm an infrastructure engineer! Please be patient on the development forums! :)
View Complete Post