WakeOnLAN.WakeUp Method (String, String, String)

Tungsten Suite

WakeOnLANWakeUp Method (String, String, String)

Broadcasts a magic packet to wake up the machine with the given MAC address

Namespace:  W.Net
Assembly:  Tungsten.Net (in Tungsten.Net.dll) Version: 2.0.2
Syntax
C#
public static bool WakeUp(
	string macAddress,
	string ipAddress,
	string subnetMask
)

Parameters

macAddress
Type: SystemString
The MAC address of the machine to wake up
ipAddress
Type: SystemString
The IP address of the machine to wake
subnetMask
Type: SystemString
The subnet mask to determine the broadcast IP address

Return Value

Type: Boolean
True if the magic packet was successfully sent, otherwise False
Remarks
See Also