public async Task WakeAsync_ShouldBeExpectedResult(string mac, string expected)
        {
            await _easyWakeOnLanClient.WakeAsync(mac);

            await Task.Delay(500);

            AssertSendedUdpMessage(expected);
        }
예제 #2
0
 static async void ProcessAsync(string Mac)
 {
     EasyWakeOnLanClient WOLClient = new EasyWakeOnLanClient();
     await WOLClient.WakeAsync(Mac);
 }