问题描述
在not有一大堆的运气找到任何SNMP库.NET,可以作为SNMP代理(可用于在OSS项目 - 这意味着专利库都出来了),我现在正在寻求实现一个简单的SNMP代理类在C#。
After not having a whole bunch of luck finding any SNMP libraries for .NET that can act as SNMP agents (that can be used in an OSS project - meaning proprietary libs are out), I am now looking at implementing a simple SNMP agent class in C#.
任何人都可以提供SNMP代理的任何很好的例子或参考实现(理想好的和放大器;自包含的),我可以作为一个参考的移植使用?语言心不是太重要了 - 但越简单越好
Can anyone provide any good examples or reference implementations of an SNMP agent (ideally nice & self contained), that I can use as a porting reference? Language isnt too important - but the simpler the better.
谢谢!
推荐答案
我的开源项目#SNMP套房有一个名为TestAgent的小项目。它是一个基于WinForms的小工具来测试非常基本的SNMP代理功能。这是我用它来测试出#SNMP MIB浏览器。
My open source project #SNMP Suite has a tiny project named "TestAgent". It is a WinForms based small utility to test out very basic SNMP agent functionality. This is what I use to test out #SNMP MIB Browser.
这是远未成熟。但是,如果你喜欢,它显示了如何使用#SNMP库来发送和接收SNMP数据包。
It is far from mature. But if you like, it shows how to use #SNMP library to send and receive SNMP packets.
如果您想从其他语言港口的东西,SNMP4J有一个测试代理过Java编写的。
If you want to port something from other languages, snmp4j has a test agent too in Java.
HTTP://sharpsnmplib.$c$cplex.com
这篇关于简单的自包含的SNMP代理的例子吗? (Java / C#的理想)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!