Sorry if my question is not very clear, I'm new at this. I'm connected to a router that is then connected to an AP. They both use NAT. Is there any way I can programmatically determine the local IP address that the AP has assigned to the router? I know the DHCP range and the local IP address of the AP, but I don't have access to the configuration of neither the router or the AP. Any language would do, but I'd prefer Java or C#. Thanks in advance.
Please don't mark as duplicate. I don't want to know my public IP address, the address I want is in a local network.