简体   繁体   English

C#中的SNMP代理

[英]SNMP-Agent in C#

I need to write a VERY basic SNMP Agent in C#, which is able to send traps (V1 or V2) and respond to get (set is not required). 我需要用C#编写一个非常基础的SNMP代理,它能够发送陷阱(V1或V2)并响应get(不需要设置)。 After long searches, the only suitable solution seems to be SharpSnmp. 经过长时间的搜索,似乎唯一合适的解决方案是SharpSnmp。 However, #SNMP's sample agent doesn't work properly and - the bigger issue - it doesn't reply to GET requests. 但是,#SNMP的示例代理无法正常工作,并且-更大的问题-它无法回复GET请求。

Is there another possiblity/solution for doings this? 这样做还有其他可能性/解决方案吗?

您是否尝试使用snmpsharpnet ,这对于在.NET顶部使用SNMP很有帮助?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM