tags:

views:

127

answers:

2

Is it possible in C# (4.0) to get the list of installed Com+ applications on the same box and then retrieve the status (Running/Shut down) of each of them?

I can find methods to start/stop, but not retrieve status.

A: 

Hi

Have you checked the COM+ administration components? I'd bet that you can find this information using these interfaces.

Best

Vagaus
I've had a look and although I can get the list of Applications, and ShutDown or Start my application, I can't find any way to tell if it was actually running in the first place!
BlueChippy
Actually you can query for the ApplicationInstances (http://msdn.microsoft.com/en-us/library/ms679173(v=VS.85).aspx) collection which will provide you the information you want with no need to use third part code.
Vagaus
@Vagaus, good one!
Tuzo
+1  A: 
Tuzo