Easy implementation of Magic Packet (WakeOnLan) in a Net Standard 1.5 library
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src refactorize the example Aug 10, 2018
.gitattributes Initial Commit Jul 25, 2018
.gitignore Initial Commit Jul 25, 2018
.travis.yml Create .travis.yml Jul 25, 2018
EasyWakeOnLan.sln Update net Standard Version Aug 8, 2018
LICENSE Create LICENSE Jul 25, 2018
README.md Update README.md Aug 21, 2018

README.md

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

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

Get it from NuGet

NuGet NuGet