连接到远程计算机上的MSMQ

时间:2015-11-26 12:58:07

标签: c# msmq remote-access

我有2台安装了MSMQ的计算机,我需要通过IP地址读取所有cumputer的私有队列。

现在我有本地comp的工作代码:

var machineName = Environment.MachineName;
var queues = MessageQueue.GetPrivateQueuesByMachine(machineName);

如何连接到msmq并通过TCP获取远程计算机上的所有队列?

0 个答案:

没有答案