I am writing a Cisco Security Threat Analyser for my final year project in college and I would love to see the code from this article on how to use WinSNMP in C# as my application is going to be coded in C# and the code that is talked about here would be a great place for me to start.
OR if anyone has an implementation of using WinSNMP could you mail me at schro [AT] konundrum [DOT] org
It was very suprising to me to see this article on the code project pages. Because it was my one of the old articles and i had removed it from these pages. I don't remember why i had done this but this article shouldn't be here....
It is very suprising.....
anyway.. because i stopped updating and supporting WinSnmp i will never publish any codes here. I have the codes how they are before and i am not so sure the last codes work fine or not.
If you still want to have WinSnmp codes , please e-mail me directly. When i got your e-mail i will send you the codes that i have..
Doing something is better than doing nothing. So ... Move !
I implemented a full c# WinSNMP application that uses the wsnmp32.dll.
Only problem is the PDU set command does not work and actually goes out as a
GETNEXT cmd. All other PDU cmds work except the SET. Debugger says pdu type is 163 (0xa3) on pdu create. I know for sure that I am setting the pdu correctly. Code is direct port from c++ where all works fine.
Have u been able to get SET to work? Is there some kind of bug in this from c#? It works fine under c++. For now, I am using the snmpmgr routines to set variables from c#, which also works fine. But I would like to stick to the WinSnmp for all snmp functions.
You are just listing SNMP function calls here, a simple link to the website where you copied it from would be sufficient (besides of the non-CP formatting used).
And you should add code, explain how to use it. The article is pretty pointless now.
Where is a sample application?
I don't think this is a serious possesion, and the evil most likely comes from your hand. Colin J Davies, The Lounge
Last Visit: 31-Dec-99 19:00 Last Update: 5-Mar-15 17:19