如何使用 c#.net 读取 MIB 文件(.Mib 文件)
arun Kumar
问问题
13789 次
2 回答
4
您可以编写自己的ASN.1解析器,或使用现成的组件。我使用NetToolWorks并且对它很满意。
如果您确实想自己动手,这里有一些示例代码可以帮助您入门。
于 2009-05-11T13:43:43.750 回答
2
Based on what you need, you have multiple choices.
ASN.1 parsers can be used to parse details. But if you just need to know the OID for objects, #SNMP Suite already has a basic MIB parser/compiler available via both its library (SharpSnmpLib.Mib namespace) and its GUI tool (MIB Compiler and Browser).
As far as I know, Net-SNMP only has a MIB to C tool.
于 2009-05-16T04:10:10.233 回答