EasyWakeOnLan
This is a little example of the usage of EasyWakeOnLan that can be usable by including the reference to EasyWakeOnLan.dll, but the easiest mode is including the reference to this library as nuget packet
SourceLink
After version 3.0.16
supports debugging with SourceLink
Usage Sync
string Mac = ...Get the Mac Address....
//Instance the class
EasyWakeOnLanClient WOLClient = new EasyWakeOnLanClient();
//Wake the remote PC
WOLClient.Wake(Mac);
Usage Async
string Mac = ...Get the Mac Address....
//Instance the class
EasyWakeOnLanClient WOLClient = new EasyWakeOnLanClient();
//Wake the remote PC
await WOLClient.WakeAsync(Mac);
Dependency Inyection
Register IEasyWakeOnLanCient
using EasyWakeOnLanCient
Continuous Integration
AppVeyor | Travis | Azure Pipelines |
---|---|---|