views:

1540

answers:

5

What are the best SNMP libraries to use with .NET? Specifically for listening for traps or sending set or get requests.

+1  A: 

here's a library and a few examples http://www.c-sharpcorner.com/UploadFile/malcolmcrowe/SnmpLib11232005011613AM/SnmpLib.aspx

John Boker
#SNMP Suite started from Malcolm's project, and now it provides much more than that. :)
Lex Li
+4  A: 

How about a little Linq to SNMP goodness? And here's another that isn't too bad.

Will
+5  A: 

I am using the Sharp SNMP Suite (#SNMP) : LGPL, Mono compatible, developed in C# 3.0, has very good API.

zvikara
I need to try this out!
pavsaund
+2  A: 

Hi as the author of #SNMP, I try my best to be unbiased here :)

I have a blog post here which is a simple evaluation report.

http://lextm.blogspot.com/2007/12/product-review-snmp-libraries-for-net.html

In my opinion, PowerSNMP is the leading one which has both complete feature set and simple/natural API. There are many commercial and open source products you can evaluate yourself to see which one meets your special needs.

Which one is the best? This bases on which subset of SNMP features you need and how big your budget is. :)

Lex Li
Time passes by so fast. Now #SNMP starts to support v3 (based on SNMP#Net), which brings the project forward to a higher level.
Lex Li
A: 

I've personally used Adventnet's .NET SNMP API for snmp work. It's now been renamed to WebNMS. I have code running based on this API several places, that has just worked and keeps on working 24/7.

Recommended for lots of examples and stability. Also it's fast. Seems though that there are several other .NET SNMP libraries that have come since I used SNMP last that might be worth checking out. ex: #SNMP, which has been referenced to in other replies.

pavsaund
If you refer to http://www.webnms.com/net-snmp/index.html, then I think those guys just did a rename(?). SNMP v3 support is still missing, while even if #SNMP we start to support v3.
Lex Li
Yea, seems like it. Doesn't look like they've updated the their .NET SNMP API yet. I'm looking forward to testing #SNMP in any upcoming snmp projects. looking very promising
pavsaund