M
Markus Eßmayr
Hello!
I'm working on an application (a windows service) which should be able to
detect, if a network cable is plugged/unplugged. I know that there is a way
to query the state periodically but I guess that there is also a
"triggered"-way!
I just used Spy++ to trace the window messages received by Internet Explorer
and Lotus Notes while unplugging an replugging the cable.
The result: Internet Explorer receives 0x0410 (WM_USER + 16) on each event,
Lotus Notes receives nothing
Has anybody of you an idea, what is the best solution (or how Internet
Explorer is enabling this message)?
Note: I'm using C# and I'm forced not to use any P/Invoke (unmanaged code)
Thanks very much!
Max
I'm working on an application (a windows service) which should be able to
detect, if a network cable is plugged/unplugged. I know that there is a way
to query the state periodically but I guess that there is also a
"triggered"-way!
I just used Spy++ to trace the window messages received by Internet Explorer
and Lotus Notes while unplugging an replugging the cable.
The result: Internet Explorer receives 0x0410 (WM_USER + 16) on each event,
Lotus Notes receives nothing
Has anybody of you an idea, what is the best solution (or how Internet
Explorer is enabling this message)?
Note: I'm using C# and I'm forced not to use any P/Invoke (unmanaged code)
Thanks very much!
Max