Skip to main content

1E SDK

Network.Wakeup

Method

Wakeup

Module

Network

Library

Core

Action

Send a Wake-on-LAN (WOL) request to a dormant device.

Parameters

MacAddress (string) The MAC Address to attempt to wake up

Return values

SentTo (string) The IP addresses that the wakeup request was sent to.

Example

Network.Wakeup(MacAddress:"00:11:22:33:44:55");

Platforms

  • Windows.

  • Linux.

  • macOS.

Notes

Warnings:

  • The destination MAC address device might wake up when requested, but there is no guarantee.

  • The device must have WOL enabled (in BIOS, Network driver, and OS)

Considerations:

  • Performs network activity

Important

Network.Wakeup is only supported on macOS and Linux from 1E platform v24.7 onward. It is supported on Windows for all platform versions.