C# Class System.Net.IPAddressExtensions

Mostra file Open project: nikeee/wake-on-lan

Public Methods

Method Description
SendArpRequest ( this destination ) : ArpRequestResult

Sendet eine Anfrage über das ARP-Protokoll, um eine IP-Adresse in die Physikalische Adresse aufzulösen. Falls sich die physikalische Adresse bereits im Cache des Hosts befindet, wird diese zurückgegeben.

SendArpRequestAsync ( this destination ) : Task

Sends a request via ARP to resolve an IP address to aphysical address. If the physical address is already cached, it's cached value is returned.

SendWol ( this target, PhysicalAddress macAddress ) : void

Sends a Wake On LAN signal (magic packet) to a client.

SendWol ( this target, PhysicalAddress macAddress, SecureOnPassword password ) : void

Sends a Wake On LAN signal (magic packet) to a client.

SendWol ( this target, byte macAddress ) : void

Sends a Wake On LAN signal (magic packet) to a client.

SendWol ( this target, byte macAddress, SecureOnPassword password ) : void

Sends a Wake On LAN signal (magic packet) to a client.

SendWol ( this target, byte macAddress, int port ) : void

Sends a Wake On LAN signal (magic packet) to a client.

SendWol ( this target, byte macAddress, int port, SecureOnPassword password ) : void

Sends a Wake On LAN signal (magic packet) to a client.

SendWolAsync ( this target, PhysicalAddress macAddress ) : Task

Sends a Wake On LAN signal (magic packet) to a client.

SendWolAsync ( this target, PhysicalAddress macAddress, SecureOnPassword password ) : Task

Sends a Wake On LAN signal (magic packet) to a client.

SendWolAsync ( this target, byte macAddress ) : Task

Sends a Wake On LAN signal (magic packet) to a client.

SendWolAsync ( this target, byte macAddress, SecureOnPassword password ) : Task

Sends a Wake On LAN signal (magic packet) to a client.

SendWolAsync ( this target, byte macAddress, int port ) : Task

Sends a Wake On LAN signal (magic packet) to a client.

SendWolAsync ( this target, byte macAddress, int port, SecureOnPassword password ) : Task

Sends a Wake On LAN signal (magic packet) to a client.

Private Methods

Method Description
SendWol ( this target, byte mac0, byte mac1, byte mac2, byte mac3, byte mac4, byte mac5 ) : void
SendWol ( this target, byte mac0, byte mac1, byte mac2, byte mac3, byte mac4, byte mac5, int port ) : void
SendWolAsync ( this target, byte mac0, byte mac1, byte mac2, byte mac3, byte mac4, byte mac5 ) : Task
SendWolAsync ( this target, byte mac0, byte mac1, byte mac2, byte mac3, byte mac4, byte mac5, int port ) : Task

Method Details

SendArpRequest() public static method

Sendet eine Anfrage über das ARP-Protokoll, um eine IP-Adresse in die Physikalische Adresse aufzulösen. Falls sich die physikalische Adresse bereits im Cache des Hosts befindet, wird diese zurückgegeben.
public static SendArpRequest ( this destination ) : ArpRequestResult
destination this Destination .
return ArpRequestResult

SendArpRequestAsync() public static method

Sends a request via ARP to resolve an IP address to aphysical address. If the physical address is already cached, it's cached value is returned.
public static SendArpRequestAsync ( this destination ) : Task
destination this Destination .
return Task

SendWol() public static method

Sends a Wake On LAN signal (magic packet) to a client.
The length of the is not 6. is null. An error occurred when accessing the socket. See Remarks section of for more information.
public static SendWol ( this target, PhysicalAddress macAddress ) : void
target this Destination .
macAddress PhysicalAddress The MAC address of the client.
return void

SendWol() public static method

Sends a Wake On LAN signal (magic packet) to a client.
The length of the is not 6. is null. An error occurred when accessing the socket. See Remarks section of for more information.
public static SendWol ( this target, PhysicalAddress macAddress, SecureOnPassword password ) : void
target this Destination .
macAddress PhysicalAddress The MAC address of the client.
password SecureOnPassword The SecureOn password of the client.
return void

SendWol() public static method

Sends a Wake On LAN signal (magic packet) to a client.
The length of the array is not 6. is null. An error occurred when accessing the socket. See Remarks section of for more information.
public static SendWol ( this target, byte macAddress ) : void
target this Destination .
macAddress byte The MAC address of the client.
return void

SendWol() public static method

Sends a Wake On LAN signal (magic packet) to a client.
The length of the array is not 6. is null. An error occurred when accessing the socket. See Remarks section of for more information.
public static SendWol ( this target, byte macAddress, SecureOnPassword password ) : void
target this Destination .
macAddress byte The MAC address of the client.
password SecureOnPassword The SecureOn password of the client.
return void

SendWol() public static method

Sends a Wake On LAN signal (magic packet) to a client.
The length of the array is not 6. is null. An error occurred when accessing the socket. See Remarks section of for more information.
public static SendWol ( this target, byte macAddress, int port ) : void
target this Destination .
macAddress byte The MAC address of the client.
port int The port to send the packet to.
return void

SendWol() public static method

Sends a Wake On LAN signal (magic packet) to a client.
The length of the array is not 6. is null. An error occurred when accessing the socket. See Remarks section of for more information.
public static SendWol ( this target, byte macAddress, int port, SecureOnPassword password ) : void
target this Destination .
macAddress byte The MAC address of the client.
port int The port to send the packet to.
password SecureOnPassword The SecureOn password of the client.
return void

SendWolAsync() public static method

Sends a Wake On LAN signal (magic packet) to a client.
The length of the is not 6. is null.
public static SendWolAsync ( this target, PhysicalAddress macAddress ) : Task
target this Destination .
macAddress PhysicalAddress The MAC address of the client.
return Task

SendWolAsync() public static method

Sends a Wake On LAN signal (magic packet) to a client.
The length of the is not 6. is null. is null.
public static SendWolAsync ( this target, PhysicalAddress macAddress, SecureOnPassword password ) : Task
target this Destination .
macAddress PhysicalAddress The MAC address of the client.
password SecureOnPassword The SecureOn password of the client.
return Task

SendWolAsync() public static method

Sends a Wake On LAN signal (magic packet) to a client.
The length of the array is not 6. is null.
public static SendWolAsync ( this target, byte macAddress ) : Task
target this Destination .
macAddress byte The MAC address of the client.
return Task

SendWolAsync() public static method

Sends a Wake On LAN signal (magic packet) to a client.
The length of the array is not 6. is null. is null.
public static SendWolAsync ( this target, byte macAddress, SecureOnPassword password ) : Task
target this Destination .
macAddress byte The MAC address of the client.
password SecureOnPassword The SecureOn password of the client.
return Task

SendWolAsync() public static method

Sends a Wake On LAN signal (magic packet) to a client.
The length of the array is not 6. is null.
public static SendWolAsync ( this target, byte macAddress, int port ) : Task
target this Destination .
macAddress byte The MAC address of the client.
port int The port to send the packet to.
return Task

SendWolAsync() public static method

Sends a Wake On LAN signal (magic packet) to a client.
The length of the array is not 6. is null.
public static SendWolAsync ( this target, byte macAddress, int port, SecureOnPassword password ) : Task
target this Destination .
macAddress byte The MAC address of the client.
port int The port to send the packet to.
password SecureOnPassword The SecureOn password of the client.
return Task