Andy5
Andy5

Reputation: 2405

How to generate SNMP events in .Net 2.0

Can anyone advise me how through an example, or whether it is possible to generate SNMP events in .Net using Framework 2.0 and for those events to be monitored using windows tools?

Thanks

Upvotes: 0

Views: 159

Answers (1)

Lex Li
Lex Li

Reputation: 63264

SNMP protocol does not define anything called events. Do you mean by notifications? An SNMP engine/agent can raise notificates (TRAP or INFORM messages) over UDP to its dedicated SNMP managers, so that the managers know something happens.

If that's what you mean, you may use any SNMP library that supports .NET 2.

https://docs.lextudio.com/blog/product-review-snmp-libraries-for-net-evaluation-report-e13f25991cad

But .NET 2 is too old, and even Microsoft no longer supports .NET 2 unless you are also installing .NET 3.5 SP1 on the same machine. Therefore, you may consider targeting .NET 3.5 directly instead of 2.0.

Upvotes: 0

Related Questions