I'm currently working on a program to communicate across the internet, but in order to do so, I need to be able to detect my IP address. As I am on a LAN, when I try to do this, it returns my LAN IP, whereas I need to get my internet IP. Is there a way to do this?

Thanks in advance,

Az.