akshay2000 / XBMCRemoteRT

XBMC Remote for Windows and Windows Phone
24 stars 18 forks source link

Wake on lan #38

Closed janhicken closed 9 years ago

janhicken commented 9 years ago

35 First prototype, tested with own network setup at home. Maybe, some UX improvements need to be done in the EditConnectionsPage.

akshay2000 commented 9 years ago

Page EditConnectionsPage seems just fine to me. So as I understand, we're not handling cases where the person might enter server name instead of IP address, right?

janhicken commented 9 years ago

The WOLHelper class does this in its WakeUp() method: It tries to parse the String into an IP address and return error code 10 otherwise. Other errors codes are returned by DataWriter.StoreAsync(). These error codes are handled by the async method call in MainPage.xaml.cs.