lextudio / sharpsnmplib

C# SNMP Library (#SNMP) - Open source SNMP implementation for C# and .NET
https://sharpsnmp.com
MIT License
357 stars 152 forks source link

How to load MIB documents so that I can manipulate objects? #558

Closed lextudio-support closed 3 weeks ago

lextudio-support commented 3 weeks ago

Hi lextm,

I have few MIB documents, but I don't know how to add/load these *.mib files into my #SNMP project.

Should I "parse" or "compile" these MIB files?

These is a "reg.Tree.LoadedModules" in the "Browser" project. How to load another MIB files into it? Where can I find the sample code?

Could you give me some guidance? Thank you!

Original Reported Date: 2009-02-15T21:15:49.007-08:00 Original CodePlex Discussion Thread ID: 47201

lextudio-support commented 3 weeks ago

Copied from CodePlex without authors:

Does anyone could give me some hint? Thanks!

Original Posted Date: 2009-02-16T23:58:36.82-08:00

lextudio-support commented 3 weeks ago

Copied from CodePlex without authors:

If you have MIB documents (.mib or .txt), please take a look at ObjectRegistry class. The comments inside can tell you which method is suitable.

Original Posted Date: 2009-02-18T20:51:31.653-08:00

lextudio-support commented 3 weeks ago

Marked as Answer Date: 2013-10-06T21:05:13.747-07:00