I know that when I try to create new MessageQueue
, system throws InvalidOperationException
if the Message Queuing is not enabled.
But how to know programmatically whether Message Queueing is enabled on the machine or not? I am using C# 2.0 & C# 4.0 in two different code bases.