Unit synamisc

Descrição

 

Uses

Visão Geral

Classes, Interfaces, Objetos e Registros

Nome Descrição
Registro TProxySetting This record contains information about proxy settings.

Funções e Procedimentos

procedure WakeOnLan(MAC, IP: string);
function GetDNS: string;
function GetIEProxy(protocol: string): TProxySetting;
function GetLocalIPsFamily(value: TSocketFamily): string;
function GetLocalIPs: string;

Descrição

Funções e Procedimentos

procedure WakeOnLan(MAC, IP: string);

With this function you can turn on a computer on the network, if this computer supports Wake-on-LAN feature. You need the MAC address (network card identifier) of the computer. You can also assign a target IP addres. If you do not specify it, then broadcast is used to deliver magic wake-on-LAN packet. However broadcasts work only on your local network. When you need to wake-up a computer on another network, you must specify any existing IP addres on same network segment as targeting computer.

function GetDNS: string;

Autodetect current DNS servers used by the system. If more than one DNS server is defined, then the result is comma-delimited.

function GetIEProxy(protocol: string): TProxySetting;

Read InternetExplorer 5.0+ proxy setting for given protocol. This function works only on windows!

function GetLocalIPsFamily(value: TSocketFamily): string;

Return all known IP addresses of required type on the local system. Addresses are divided by comma/comma-delimited.

function GetLocalIPs: string;

Return all known IP addresses on the local system. Addresses are divided by comma/comma-delimited.


Gerado por PasDoc 0.16.0.