Hi All,
I received a request from someone asking for the code that queries MOHAA servers that is in use by Query Launcher. So, I packaged it up as a standalone dll that you can import into your project.
You can use it like so:
Add a reference to the DLL.
Add to your using statements:
Code:
using MOH = MOHAAQueryHelper;
Code to query a server:
Code:
MOH.MOHAAServer Server = MOH.MOHAAQueryHelper.QueryServer("192.1.1.1:12203"); // IP:PORT combo go here.
Obviously, this is not threaded (unlike Query Launcher). I've attached a sample application showing you how to use the attached DLL. Let me know if you have any questions. Didn't detail this thread very much... sorry.