Does anyone know how to get the current permissions for any particular registry key using VB.NET? For example, if I open regedit.exe then right click on a key and choose permissions I can see the current permissions for any key.

Is there a way to return a variable as to what these permissions are?

Thanks!
Bob