I've collected some examples of SNMP apps written in VB, but all I've seen so far uses an async process to send an SNMP Message to a host and then wait on the handle to a control for a response to come back.

I'm looking for a way to do SNMP queries (ie. retrieve specific hardware info) SYNCHRONOUSLY, that is, not waiting on a Keypress event for a control on the form (yes, I'm writing a formless batch app.

Anyone out there know enough about SNMP to tell me how to go about doing this or point me to code somewhere I can look at that works this way?

Any help would be appreciated.