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

Stellt Methoden für das Senden von Wake-On-LAN-Signalen bereit.
Показать файл Открыть проект

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

Метод Описание
Send ( IPEndPoint target, System.Net.NetworkInformation.PhysicalAddress macAddress ) : void

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

Send ( IPEndPoint target, System.Net.NetworkInformation.PhysicalAddress macAddress, SecureOnPassword password ) : void

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

Send ( IPEndPoint target, byte macAddress ) : void

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

Send ( IPEndPoint target, byte macAddress, SecureOnPassword password ) : void

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

SendAsync ( IPEndPoint target, PhysicalAddress macAddress ) : Task

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

SendAsync ( IPEndPoint target, PhysicalAddress macAddress, SecureOnPassword password ) : Task

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

SendAsync ( IPEndPoint target, byte macAddress ) : Task

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

SendAsync ( IPEndPoint target, byte macAddress, SecureOnPassword password ) : Task

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

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

Метод Описание
GetWolPacket ( byte macAddress, byte password ) : byte[]
Send ( IPEndPoint target, byte mac0, byte mac1, byte mac2, byte mac3, byte mac4, byte mac5 ) : void
SendAsync ( IPEndPoint target, byte mac0, byte mac1, byte mac2, byte mac3, byte mac4, byte mac5 ) : Task
SendPacket ( IPEndPoint target, byte packet ) : void
SendPacketAsync ( IPEndPoint target, byte packet ) : Task

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

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

Sends a Wake On LAN signal (magic packet) to a client.
is null. An error occurred when accessing the socket. See Remarks section of for more information.
public static Send ( IPEndPoint target, System.Net.NetworkInformation.PhysicalAddress macAddress ) : void
target IPEndPoint Destination .
macAddress System.Net.NetworkInformation.PhysicalAddress The MAC address of the designated client.
Результат void

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

Sends a Wake On LAN signal (magic packet) to a client.
is null. An error occurred when accessing the socket. See Remarks section of for more information.
public static Send ( IPEndPoint target, System.Net.NetworkInformation.PhysicalAddress macAddress, SecureOnPassword password ) : void
target IPEndPoint Destination .
macAddress System.Net.NetworkInformation.PhysicalAddress The MAC address of the designated client.
password SecureOnPassword The SecureOn password of the client.
Результат void

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

Sends a Wake On LAN signal (magic packet) to a client.
target is null. is null. The length of the array macAddress is not 6. An error occurred when accessing the socket. See Remarks section of for more information.
public static Send ( IPEndPoint target, byte macAddress ) : void
target IPEndPoint Destination .
macAddress byte The MAC address of the designated client.
Результат void

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

Sends a Wake On LAN signal (magic packet) to a client.
is null. is null. The length of the array is not 6. An error occurred when accessing the socket. See Remarks section of for more information.
public static Send ( IPEndPoint target, byte macAddress, SecureOnPassword password ) : void
target IPEndPoint Destination .
macAddress byte The MAC address of the designated client.
password SecureOnPassword The SecureOn password of the client.
Результат void

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

Sends a Wake On LAN signal (magic packet) to a client.
is null. is null.
public static SendAsync ( IPEndPoint target, PhysicalAddress macAddress ) : Task
target IPEndPoint Destination .
macAddress PhysicalAddress The MAC address of the designated client.
Результат Task

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

Sends a Wake On LAN signal (magic packet) to a client.
is null. is null.
public static SendAsync ( IPEndPoint target, PhysicalAddress macAddress, SecureOnPassword password ) : Task
target IPEndPoint Destination .
macAddress PhysicalAddress The MAC address of the designated client.
password SecureOnPassword The SecureOn password of the client.
Результат Task

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

Sends a Wake On LAN signal (magic packet) to a client.
is null. is null. The length of the array is not 6.
public static SendAsync ( IPEndPoint target, byte macAddress ) : Task
target IPEndPoint Destination .
macAddress byte The MAC address of the designated client.
Результат Task

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

Sends a Wake On LAN signal (magic packet) to a client.
is null. is null. is null.
public static SendAsync ( IPEndPoint target, byte macAddress, SecureOnPassword password ) : Task
target IPEndPoint Destination .
macAddress byte The MAC address of the designated client.
password SecureOnPassword The SecureOn password of the client.
Результат Task