News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Security Library Forum
 
machine store cert  
by Rob [rob_nospam at imason dot com]
posted on 2004/05/06

I am trying to create a CertificateStore

new CertificateStore(StoreLocation.LocalMachine, "MY")

but I encounter an exception. The code works fine when I run as administrator, but when I run as a low priviledged account it doesn't work. Does anyone know the minimum set of permissions I need to do this?

by Pieter Philippaerts [Pieter at mentalis dot org]
posted on 2004/05/16

LocalMachine certificates are stored in the registry under HKEY_LOCAL_MACHINE\Software\Microsoft\SystemCertificates

You will need read/write permission for this registry key.

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.