G
Guest
HI all,
sorry for my bad eglisch . I have questation about SNMP . I want trap the
snmp traps . I am write this code :
ManagementScope ms = new ManagementScope("root/snmp/localhost");
ms.Connect();
WqlEventQuery wql = new WqlEventQuery("select * from SNMPNotification");
ManagementEventWatcher mew = new ManagementEventWatcher(ms,wql);
mew.EventArrived +=new EventArrivedEventHandler(mew_EventArrived);
after I call mew.Start() the trap work , but after few hour the trap not
work .
where is trouble ?
thanx
sorry for my bad eglisch . I have questation about SNMP . I want trap the
snmp traps . I am write this code :
ManagementScope ms = new ManagementScope("root/snmp/localhost");
ms.Connect();
WqlEventQuery wql = new WqlEventQuery("select * from SNMPNotification");
ManagementEventWatcher mew = new ManagementEventWatcher(ms,wql);
mew.EventArrived +=new EventArrivedEventHandler(mew_EventArrived);
after I call mew.Start() the trap work , but after few hour the trap not
work .
where is trouble ?
thanx