Message Notes



  • If you want to access the message queue with in the system then you can declare the msmq as
  •              System.Messaging.MessageQueue msmq = new System.Messaging.MessageQueue(@".\Private$\pvtmsmq");

  • If you want to access the message queue with in LAN system then you have to declare the msmq as
  •             System.Messaging.MessageQueue msmq = new System.Messaging.MessageQueue(@"FormatName:DIRECT=TCP:192.168.1.3\\Private$\\pvtmsmq");