I would like to user dart PowerSNMP for .NET to retrieve a list of all the processes and their respective pids and write them to the Visual Studio console whenever I receive a message in event. I assume this is done by walking the mib tree and then retrieving the actual values of a specific OID but I'm not too clear on how all this works.
For instance, assuming I have an agent that receives messages like so.
private void agent1_MessageReceived(Agent agent, RequestMessage request, object state)
{
//print the processes and pids using power snmp
String process = "";
//concat processes and pids
....
Console.WriteLine(process);
}