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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -