Categorias

Informações de um IP ou Domínio

O NetDLL é um componente para testes ICMP (Internet Control Message Protocol). Inclui função de Ping, conversor de hostname para IP e IP para Hostname.

<%
' Cria uma instância do controle
Set NetDll = Server.CreateObject("NETDLL.Network")

Response.Write "Ping: "& netDLL.Ping("209.85.193.147", "5", True) &"
" Response.Write "GetHostFromIP: "& netDLL.GetHostFromIP("209.85.193.147") &"
" Response.Write "GetIPAddress: "& netDLL.GetIPAddress("www.google.com.br") &"
" Response.Write "GetIPHostName: "& netDLL.GetIPHostName() &"
" Response.Write "Using GetIPAddress with GetIPHostName: "& netDLL.GetIPAddress( netDLL.GetIPHostName() ) &"
" ' Tira o objeto da memória Set NetDll = Nothing %>