How to get Data type (SnmpType) for an OID?

Feb 5 at 2:38 AM

I want to read from an SNMP agent.  I have successfully loaded MIB file and I am able to find my respective MIBs using DefaultObjectRegistry.Instance.Tree.Find("Module", mibName);

It returns an IDefinition object.  Is there a way I can know the data type (or SnmpType) associated with it.  Meaning is it an OctetString, Counter32, Integer32 or what?

Please help.

Coordinator
Feb 5 at 8:22 AM

For #SNMP 6 and 7, this is impossible.

In the upcoming 8 release, the new compiler will be capable of providing all necessary information.

Regards,

Lex