Jump to content

How to Get IP Address?


Recommended Posts

  • Moderators

I'm trying to get some code that will return my LAN IP address (169.233.xx.xxx) address. Is there a way to do this? I've been using python for it, but it only spits out a 127.0.0.1 address. Thanks.

@IPAddress1

?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

LAN (Private) IP:

@IPAddress1oÝ÷ Øû'=«­¢+ØÀÌØí½!QQ@ô=©
ÉÑ ÅÕ½Ðí5¥É½Í½Ð¹a51!QQ@ÅÕ½Ðì¤(ÀÌØí½!QQ@¹=Á¸ ÅÕ½ÐíPÅÕ½Ðì°ÅÕ½Ðí¡ÑÑÀè¼½ÝÝܹݡѥ͵å¥À¹½É¼ÅÕ½Ð찱ͤ(ÀÌØí½!QQ@¹M¹ ¤(ÀÌØí½%@ôÀÌØí½!QQ@¹IÍÁ½¹ÍQáÐ)5Í   ½à À°ÅÕ½Ðí%ÀÅÕ½Ðì°ÀÌØí½%@¤
Link to comment
Share on other sites

  • Moderators
$oHTTP = ObjCreate("Microsoft.XMLHTTP")
$oHTTP.Open("GET", "http://www.whatismyip.org/", False)
$oHTTP.Send()
$oIP = $oHTTP.ResponseText
MsgBox(0,"Ip",$oIP)
For public as well.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...