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

delphi - TJvHidDeviceController "DevicePath" always showing "\" -

Disabling Android home button for industry application -

c# - HwndSource win32 integration with Ribbons and KeyTips -