Here's an example of how to use wake-on-lan in c#:
main.cs992 chars38 lines
This code sends a wake-on-lan magic packet to a specified MAC address. The magic packet is broadcast on the local network to wake up a remote computer from a sleeping state.
gistlibby LogSnag