title: How can i check for RegistryKey permissions like ReadKey or FullControl in .NET?
body: <p>I want to check that I have permissions on a RegistryKey for example can I read values and write values. This blog enumerates permissions</p>
  
  <p><a href="http://blogs.msdn.com/b/bclteam/archive/2006/01/06/509867.aspx" rel="nofollow">http://blogs.msdn.com/b/bclteam/archive/2006/01/06/509867.aspx</a></p>
  
  <p>How can I go from GetAccessControl() to knowing that I have for example FullControl?</p>