1

I've been looking at #SNMP, which seems to be the most complete SNMP library in C#. However, I find that the documentation is quite lacking, merely pointing to the source code, which is completely void of comments :-)

Now I'm not a professional developer so this probably comes from me, and surely professional developers can make sense of a complex API by just looking at non-commented code. So I'm looking of a simple implementation of "Get the value of the specified OID."

Would anybody be able to provide the sheer minimum code required to poll equipments using that lib?

Astaar
  • 5,858
  • 8
  • 40
  • 57

1 Answers1

0

It seems that a more adequate lib to use is SNMP Sharp Net. It's much better documented with a full range of examples, and more features than #SNMP it seems.

Astaar
  • 5,858
  • 8
  • 40
  • 57
  • 1
    "more than #SNMP" is kind of an illusion, http://www.lextm.com/2012/07/sharpsnmp-vs-snmpsharpnet.html – Lex Li Mar 31 '13 at 12:38
  • 1
    Somebody got so pissed he rated down both the answer and the response? Wow :) Maybe I was too subjective. But then again, the blog you quoted states "Fine. As I am the developer of #SNMP, this post must be biased." – Astaar Apr 02 '13 at 11:52
  • @Astaar - Just fwiw, the "blog [he] quoted" turns out to be *his* blog. Kinda surprised he didn't include some code with the drive-by! ;^) Guess the link to *his* CodeProject post from his earlier comment has the answer. That said, to be fair, this accepted answer (yours, natch; heavy nepotism time at SO here ;^D) doesn't literally answer your question's request for `the sheer minimum code required to poll equipments using that lib [#SNMP]` either. – ruffin Oct 22 '14 at 17:14