c# - How to recognize a WOL (Wake On Lan) request while the PC is running -
i wonder if possible check if wol-request
has been
received during computer turned on. (pinvoke, c#?)
if computer receives magic paket
, boots, windows
writes corresponding event-log entry system-log.
the way i'm looking not listen udp-traffic own - if possible want know how receive kind of system event (irq?) or something.. , thats when receiving pc turned on.
i agree duston wol layer 2 combined hardware thing. on normal working pc, there little chance nic hardware pass on drivers, task of hardware disturb cpu if needed. best chance see magic packet on working pc : install , run sniffer (packet analyzer) software. force supportive nic special mode transfers every packet cpu. if can see magic packet in output, next step configure sniffer alert in case sees magic packet. done. quite cpu-intensive. write software performs this, rewriting complete sniffer fixed query instead of configurable one.
Comments
Post a Comment