C# Class System.Net.IPAddressExtensions

Afficher le fichier Open project: nikeee/wake-on-lan

Méthodes publiques

Méthode 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

Méthode 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 méthode

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 .
Résultat ArpRequestResult

SendArpRequestAsync() public static méthode

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 .
Résultat Task

SendWol() public static méthode

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.
Résultat void

SendWol() public static méthode

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.
Résultat void

SendWol() public static méthode

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.
Résultat void

SendWol() public static méthode

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.
Résultat void

SendWol() public static méthode

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.
Résultat void

SendWol() public static méthode

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.
Résultat void

SendWolAsync() public static méthode

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.
Résultat Task

SendWolAsync() public static méthode

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.
Résultat Task

SendWolAsync() public static méthode

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.
Résultat Task

SendWolAsync() public static méthode

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.
Résultat Task

SendWolAsync() public static méthode

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.
Résultat Task

SendWolAsync() public static méthode

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.
Résultat Task