I am using Intel UPnP SDK for my C# based UPnP application. Normally UPnP device discovery works without any issues, but as soon as i connect to internet my application doesn't detect any UPnP device. I use USB modem to connect with my ADSL connection. I also tested with "Device Spy.exe"(Part of Intel UPnP Tools) and the result is same. I created NetworkInfo class and added the functions OnNewInterface and OnInterfaceDisabled. As soon as i connect with my internet the OnInterfaceDisabled function is called along with the IP address "127.0.0.1" and OnNewInterface function is also called along with my public(internet) IP. The reverse happening if i disconnect the internet connection and there after my(also "Device Spy.exe") device discovery succeeds and finds UPnP devices.
Anybody know solution for this problem?
Thanks in Advance
Siva Chandran P