Quantcast
Channel: C# Based Open Source SNMP Library for .NET and Mono
Viewing all articles
Browse latest Browse all 576

New Post: #SNMP Get Operation - Not working

$
0
0
Hi,

I am trying to use the SNMP API you provided for a simple GET operation, as follows:
            var result = Messenger.Get(VersionCode.V2,
                       new IPEndPoint(IPAddress.Parse("10.23.186.186"), 161),
                       new OctetString("public"),
                       new List<Variable> {new Variable(new ObjectIdentifier("1.3.6.1.4.1.41524.50.13933.3.5.1")) },
                       660000);
The SNMP agent whose IP is given, is up and running, but when I run the above code, I do not get any response for a very long time. Also, I need to support SNMPV3, but when I set "VersionCode.V3" and run the code, it says V3 not supported.

Please help.


-RN

Viewing all articles
Browse latest Browse all 576

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>