WakeOnLAN.WakeUp_via_Socket Method

Tungsten Suite

WakeOnLANWakeUp_via_Socket Method

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_via_Socket(
	string macAddress,
	string broadcastAddress = "192.168.1.255",
	int port = 9
)

Parameters

macAddress
Type: SystemString
The MAC address of the machine to wake up
broadcastAddress (Optional)
Type: SystemString
The port on which to send the magic packet (typically 0, 7 or 9)
port (Optional)
Type: SystemInt32

[Missing <param name="port"/> documentation for "M:W.Net.WakeOnLAN.WakeUp_via_Socket(System.String,System.String,System.Int32)"]

Return Value

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