How to get the puclic IP Address?

aronzxc

New Member
Hello RPA Devs, can someone help me how to get my public IP Address (like the IP address when you search "what's my IP address" on google)?
i already have this code Dns.GetHostByName(Dns.GetHostName()).AddressList(0).ToString() but the output is my Local IP Address

thanks! :)
 
Top