Ejemplo n.º 1
0
        private static void SNMPAgentFoundHandler(object sender, AgentFoundEventArgs e)
        {
            // this event needs to be passed on to bl layer
            IPEndPoint agent = e.Agent;

            // wait some milliseconds or we'll get a nullreference exception
            Thread.Sleep(150);

            SNMPAgentFoundEventArgs a = new SNMPAgentFoundEventArgs(e.Agent);
            SNMPAgentFound(a);
        }
Ejemplo n.º 2
0
 static void SNMPAgentFoundInternal(SNMPAgentFoundEventArgs e)
 {
     // pass on to the user of this dll
     SNMPAgentFound(e);
 }