Sharpeye500
Sharpeye500

Reputation: 9073

Checking websphere mq installed in target computer?

How do i check whether IBM MQ client is installed in the client computer via vb.net winform application?

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

However i don't know how to check IBM MQ client installed in the target computer? (like for example, if you want to check a windows service, you can loop through all the available services, then check for that particular windows service)

Any inputs will be highly helpful?

Upvotes: 2

Views: 524

Answers (1)

T.Rob
T.Rob

Reputation: 31832

The dspmqver command will let you know what is installed.

From the 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.

There is no native MQ API to check the GAC. (Shashi, please correct me if I've overlooked something here. I know you are watching. :-) )

Upvotes: 3

Related Questions