Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 875 Bytes

README.md

File metadata and controls

36 lines (22 loc) · 875 Bytes

English | 日本語

Magic Packet (written in C#)

Sample of sending Wake-on-LAN magic packets in C#.

Usage

Set the IP address and MAC address, build the solution with Visual Studio, and use the generated executable file.

Setting IP Address

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";

Setting MAC Address

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";

License

This software is licensed under the Unlicense.

See also