lextudio / sharpsnmplib

Sharp SNMP Library- Open Source SNMP for .NET
https://sharpsnmp.com
MIT License
356 stars 152 forks source link

Samples that show how to apply SNMP authentication/authorization #462

Closed lextudio-support closed 2 hours ago

lextudio-support commented 2 hours ago

I'm was wondering if you have any other samples which shows you how to correctly authentication. The samples that are their are very thin on the ground, and show a tiny part of the api.

I also had a look the security tests, which are very thin, and don't provide nearly enough detail to build a full SNMP client.

regards

Bob.

Original Reported Date: 2012-05-15T03:28:16.853-07:00 Original CodePlex Discussion Thread ID: 355822

lextudio-support commented 2 hours ago

Copied from CodePlex without authors:

For authentication sample code, except those lines in small utilities (snmpget and so on), we do have a large sample (Browser.exe).

It uses registry pattern to store authentication information about SNMP agents,

https://github.com/lextm/sharpsnmplib/blob/master/Browser/ProfileRegistry.cs

and then makes use of the information to talk to the agents.

Authorization is not yet supported, as it is an agent specific feature,

http://sharpsnmplib.codeplex.com/workitem/7236

Regards,

Lex

Original Posted Date: 2012-05-16T04:48:00.943-07:00

lextudio-support commented 2 hours ago

Marked as Answer Date: 2013-10-06T04:13:53.723-07:00