Could any one help me in getting the public and private IP address of a remote system.
Actually i am developing an application, where i have to connect to a remote server and i have to get the remote sytem's public and private ipaddress.
and i mean the local ipaddress is the internal ipaddress if it is connected in a network else it is 127.0.0.1[default].
For example my system IPaddress are
E.g : Internet IPaddress : 126.96.36.199
Internal IPaddress : 192.168.0.9
how to get them
can any one help me in this regard,
Thanks in advance.