impersonation - How to get DCOM application information using C# -


Do not get me information Disiom application in my application, to capture the security that Disiom application

  • Launch and activation permissions
  • Access permissions
  • Configuration permissions

How it can be used for C #.

i tried in many ways

  using COMAdmin; COMAdminCatalog list; COMAdminCatalogCollection application; // list list = get new COMAdminCatalog (); // Get list of all COM + applications within this list applications = (COMAdminCatalogCollection) catalog.GetCollection ("Applications"); Applications.Populate (); Foreach (COMAdminCatalogObject application in applications) {COMAdminCatalogCollection components; Components = (COMAdminCatalogCollection) applications.GetCollection ("component", application.Key); Components.Populate (); Foreach (COMAdminCatalogObject component in component) {Console.WriteLine ("component:" + component.Name); Console.light line ("component:" + component valid); Console.light line ("component:" + component); }}  


Comments