/EasyWakeOnLan

Easy implementation of Magic Packet (WakeOnLan) in a Net Standard 1.5 library

Primary LanguageC#MIT LicenseMIT

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
Build status Build Status Build Status

Get it from NuGet

NuGet NuGet