c# - 检查目标计算机上安装的 websphere mq?

标签 c# vb.net winforms websphere ibm-mq

如何通过 vb.net winform 应用程序检查客户端计算机上是否安装了 IBM MQ 客户端?

I have added amqmdnet.dll to my project and imported IBM.WMQ namespace.

但是我不知道如何检查目标计算机上安装的 IBM MQ 客户端? (例如,如果您想检查一个 Windows 服务,您可以循环遍历所有可用的服务,然后检查该特定的 Windows 服务)

任何输入都会非常有帮助吗?

最佳答案

dspmqver 命令会让您知道安装了什么。

来自Microsoft KB :

CAUTION: Do not use these APIs in your application to perform assembly binds or to test for the presence of assemblies or other run time, development, or design-time operations. Only administrative tools and setup programs must use these APIs. If you use the GAC, this directly exposes your application to assembly binding fragility or may cause your application to work improperly on future versions of the .NET Framework.

没有用于检查 GAC 的 native MQ API。 (Shashi,如果我忽略了一些内容,请纠正我。我知道你正在观看。:-) )

关于c# - 检查目标计算机上安装的 websphere mq?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14061864/

相关文章:

c# - ASP.NET在运行时显示和隐藏图像

c# - Linq to XML 问题 : Why is my query not working

mysql - 如何在 Crystal 报表中左连接mysql?

c# - ASP.NET Webform 在运行时错误上显示 Error.ASPX 页面

c# - Winforms - 在执行长时间运行的同步请求期间如何保持窗口完全绘制/响应?

c# - 有没有什么办法可以聚焦(选项卡控件)图片框?

c# - Atata 框架上的 Link 和 DelegateLink 有什么区别?

c# - 异步和调度程序解释

javascript - ASP.NET:UpdatePanel 和 OnLoad 事件

c# - 从嵌套的 ToolStripMenuItem 检索时,ContextMenuStrip.Owner 属性为 null