c# - How can i check for RegistryKey permissions like ReadKey or FullControl in .NET? -


i want check have permissions on registrykey example can read values , write values. blog enumerates permissions

http://blogs.msdn.com/b/bclteam/archive/2006/01/06/509867.aspx

how can go getaccesscontrol() knowing have example fullcontrol?

i'm afraid there no managed code this. use dllimport , invokecheckaccess prefer accessing registry , handling exception (if any)


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -