title: dcomcnfg functionality programmatically
body: <p>I can find all sorts of stuff on how to program for DCOM, but practically nothing on how to set/check the security programmatically.</p>
  
  <p>I'm not trying to recreate dcomcnfg, but if I knew how to reproduce all the functionality of dcomcnfg in C# (preferred, or VB.net) then my goal is in sight.</p>
  
  <p>I can't seem to be able to find any good resource on this,  no open source API's or even quick examples of how to do each step.  Even here DCOM or dcomcnfg returns few results and none really about how to set/verify/list security.</p>
  
  <p>If anybody has some pointers to an open API or some examples I would appreciate it.</p>