C# Класс System.Net.IPAddressExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

SendArpRequest() публичный статический метод

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 .
Результат ArpRequestResult

SendArpRequestAsync() публичный статический метод

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 .
Результат Task

SendWol() публичный статический метод

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.
Результат void

SendWol() публичный статический метод

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.
Результат void

SendWol() публичный статический метод

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.
Результат void

SendWol() публичный статический метод

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.
Результат void

SendWol() публичный статический метод

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.
Результат void

SendWol() публичный статический метод

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.
Результат void

SendWolAsync() публичный статический метод

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.
Результат Task

SendWolAsync() публичный статический метод

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.
Результат Task

SendWolAsync() публичный статический метод

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.
Результат Task

SendWolAsync() публичный статический метод

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.
Результат Task

SendWolAsync() публичный статический метод

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.
Результат Task

SendWolAsync() публичный статический метод

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.
Результат Task