greeting,
Jimmy
Jimmy
function PublicIP()
return BeforAtNum( "</span>", AfterAtNum( [-ip">], WebPageContents( "https://ifconfig.co/" ), 1 ), 1 )Greetings, question and how will the IPV4 be obtained?
Thank you
Gracias !!!
Saludos Antonio
Para obtener la direccion IP local utilizo: GetHostByName( GetHostName() ) y en Win10 funcion Ok, el resultado lo comprado con IpConfig y me da lo mismo.
Pero con Win11, me da un valor distinto al que me retorna IpConfig ... creo que algo ahi no esta Ok ...
Gracias
I am using Windows 11 Pro, Version 23H2
I am getting the local IP via GetHostByName( GetHostName() )
GetHostByName( GetHostName() )function LocalIP()
local cIP
WSASTARTUP()
cIP = GetHostByName( GetHostName() )
WSACLEANUP()
return cIPAntonio Linares wrote:https://www.fivetechsoft.com/getip.phpSimple
function PublicIP()
return WebPageContents( "https://www.fivetechsoft.com/getip.php" )I allready Used
Function GetIP()
Local cVar1
WsaStartUp()
cVar1 := GetHostByName( GetHostName() )
WsaCleanUp()
return cVar1