c# - Read Remote Machine Certificate -


we can use x509store load store , find certificates in local machine how same certificate sitting on remote server?

i know can configure network account have permissions on certificate in remote machine how use network account read certificate details?

x509store store = new x509store(storename.my, storelocation.localmachine); store.open(openflags.readonly); x509certificate2collection results = store.certificates.find(x509findtype.findbysubjectname, "certname", false); 

you can use x509store overload: https://msdn.microsoft.com/en-us/library/f07btzah(v=vs.110).aspx

where can specify remote server path: \\remoteservername\my in storename parameter.


Comments

Popular posts from this blog

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -