Using C# and .NET 3.5, how can I get a listing of all outgoing queues in MSMQ? I found this article about it but as you can see below I do not have the COM entry for Microsoft Message Queue 3.0 Object Library…

So how can I get the current outgoing queue listing? I figured there must be a way since I can see them in Computer Management…

What can I do?
Two good places to start I think would be these:
http://msdn.microsoft.com/en-us/library/ms703173%28v=vs.85%29.aspx
http://msdn.microsoft.com/en-us/library/ms711378%28v=vs.85%29.aspx
I’ll see if I can work up some code.
Perhaps not, those look old, still looking.
Heres some WScript that will show them to you, still looking for .Net code:
Looks like all the outgoing queues start with “os:”
Need to references System.Management and System.Management.Instrumentation