public string[] GetMacAddresses() { var networkInterfaces = NetworkInterface.GetAllNetworkInterfaces(); return(networkInterfaces.Select( networkInterface => macAddressConverter.MAC_PhysicalAddressToString( networkInterface.GetPhysicalAddress())).ToArray()); }
public void WakeOnLAN(System.Net.NetworkInformation.PhysicalAddress mac) { WakeOnLAN(macAddressConverter.MAC_PhysicalAddressToString(mac), 7); }