title: UAC status without reading the registry
body: <p>There's a simple way to read the registry and get the UAC status from there. The only problem is that if you are not an administrator user or the UAC is ON then you can't read that particular key.</p>
  
  <p>Is there a way (API, etc) to get the UAC status <strong>accurately</strong> without having to read the registry?</p>
  
  <p>Sample code is always appreciated.
  Thanks!</p>
  
  <p>jess</p>
  
  <p>EDIT:
  I'm starting a bounty. PLEASE PLEASE if you are going to answer do not tell me how I shouldn't  care about the UAC status and that the code should be independent of the UAC and how microsoft is so goody goody.</p>