Sample of sending Wake-on-LAN magic packets in C#.
Set the IP address and MAC address, build the solution with Visual Studio, and use the generated executable file.
Set the broadcast address for the Wake-on-LAN target PC within the network.
/// <summary>Broadcast Address</summary>
private const string IpAddress = "192.168.64.15";
Set the MAC address for the Wake-on-LAN target NIC.
/// <summary>MAC Address</summary>
private const string MacAddress = "c8:60:00:dd:ea:b9";
This software is licensed under the Unlicense.
- MagicPacketCPlus - Sample written in C/C++
- MagicPacketBatch - Sample batch file