C# Class System.Net.PhysicalAddressExtensions

Provides extension methods for sending Wake On LAN signals (magic packets) using a specific PhysicalAddress.
显示文件 Open project: nikeee/wake-on-lan

Public Methods

Method Description
GetAddressAdministrator ( this address ) : PhysicalAddressAdministrator

Gets the administrator (PhysicalAddressAdministrator) of the PhysicalAddress.

GetAddressType ( this address ) : PhysicalAddressType

Gets the type (PhysicalAddressAdministrator) of the PhysicalAddress.

SendWol ( this address ) : void

Sends a Wake On LAN signal (magic packet) to the broadcast IP address with the physical address.

SendWol ( this address, IPAddress target ) : void

Sends a Wake On LAN signal (magic packet) to a specific IP address with the physical address.

SendWol ( this address, IPAddress target, SecureOnPassword password ) : void

Sends a Wake On LAN signal (magic packet) to a specific IP address with the physical address.

SendWol ( this address, IPEndPoint target ) : void

Sends a Wake On LAN signal (magic packet) to a specific IP end point with the physical address.

SendWol ( this address, IPEndPoint target, SecureOnPassword password ) : void

Sends a Wake On LAN signal (magic packet) to a specific IP end point with the physical address.

SendWolAsync ( this address ) : System.Threading.Tasks.Task

Sends a Wake On LAN signal (magic packet) to the broadcast IP address with the physical address.

SendWolAsync ( this address, IPAddress target ) : System.Threading.Tasks.Task

Sends a Wake On LAN signal (magic packet) to a specific IP address with the physical address.

SendWolAsync ( this address, IPAddress target, SecureOnPassword password ) : System.Threading.Tasks.Task

Sends a Wake On LAN signal (magic packet) to a specific IP address with the physical address.

SendWolAsync ( this address, IPEndPoint target ) : System.Threading.Tasks.Task

Sends a Wake On LAN signal (magic packet) to a specific IP end point with the physical address.

SendWolAsync ( this address, IPEndPoint target, SecureOnPassword password ) : System.Threading.Tasks.Task

Sends a Wake On LAN signal (magic packet) to a specific IP end point with the physical address.

Private Methods

Method Description
SendWol ( this address, SecureOnPassword password ) : void
SendWolAsync ( this address, SecureOnPassword password ) : System.Threading.Tasks.Task

Method Details

GetAddressAdministrator() public static method

Gets the administrator (PhysicalAddressAdministrator) of the PhysicalAddress.
is null.
public static GetAddressAdministrator ( this address ) : PhysicalAddressAdministrator
address this The address.
return PhysicalAddressAdministrator

GetAddressType() public static method

Gets the type (PhysicalAddressAdministrator) of the PhysicalAddress.
is null.
public static GetAddressType ( this address ) : PhysicalAddressType
address this The address.
return PhysicalAddressType

SendWol() public static method

Sends a Wake On LAN signal (magic packet) to the broadcast IP address with the physical address.
is null.
public static SendWol ( this address ) : void
address this The instance of the physical address that should be used in the magic packet.
return void

SendWol() public static method

Sends a Wake On LAN signal (magic packet) to a specific IP address with the physical address.
is null.
public static SendWol ( this address, IPAddress target ) : void
address this The instance of the physical address that should be used in the magic packet.
target IPAddress Destination .
return void

SendWol() public static method

Sends a Wake On LAN signal (magic packet) to a specific IP address with the physical address.
is null.
public static SendWol ( this address, IPAddress target, SecureOnPassword password ) : void
address this The instance of the physical address that should be used in the magic packet.
target IPAddress Destination .
password SecureOnPassword The SecureOn password of the client.
return void

SendWol() public static method

Sends a Wake On LAN signal (magic packet) to a specific IP end point with the physical address.
is null.
public static SendWol ( this address, IPEndPoint target ) : void
address this The instance of the physical address that should be used in the magic packet.
target IPEndPoint Destination .
return void

SendWol() public static method

Sends a Wake On LAN signal (magic packet) to a specific IP end point with the physical address.
is null.
public static SendWol ( this address, IPEndPoint target, SecureOnPassword password ) : void
address this The instance of the physical address that should be used in the magic packet.
target IPEndPoint Destination .
password SecureOnPassword The SecureOn password of the client.
return void

SendWolAsync() public static method

Sends a Wake On LAN signal (magic packet) to the broadcast IP address with the physical address.
is null.
public static SendWolAsync ( this address ) : System.Threading.Tasks.Task
address this The instance of the physical address that should be used in the magic packet.
return System.Threading.Tasks.Task

SendWolAsync() public static method

Sends a Wake On LAN signal (magic packet) to a specific IP address with the physical address.
is null.
public static SendWolAsync ( this address, IPAddress target ) : System.Threading.Tasks.Task
address this The instance of the physical address that should be used in the magic packet.
target IPAddress Destination .
return System.Threading.Tasks.Task

SendWolAsync() public static method

Sends a Wake On LAN signal (magic packet) to a specific IP address with the physical address.
is null.
public static SendWolAsync ( this address, IPAddress target, SecureOnPassword password ) : System.Threading.Tasks.Task
address this The instance of the physical address that should be used in the magic packet.
target IPAddress Destination .
password SecureOnPassword The SecureOn password of the client.
return System.Threading.Tasks.Task

SendWolAsync() public static method

Sends a Wake On LAN signal (magic packet) to a specific IP end point with the physical address.
is null.
public static SendWolAsync ( this address, IPEndPoint target ) : System.Threading.Tasks.Task
address this The instance of the physical address that should be used in the magic packet.
target IPEndPoint Destination .
return System.Threading.Tasks.Task

SendWolAsync() public static method

Sends a Wake On LAN signal (magic packet) to a specific IP end point with the physical address.
is null.
public static SendWolAsync ( this address, IPEndPoint target, SecureOnPassword password ) : System.Threading.Tasks.Task
address this The instance of the physical address that should be used in the magic packet.
target IPEndPoint Destination .
password SecureOnPassword The SecureOn password of the client.
return System.Threading.Tasks.Task