Hi,
I'm trying to find some way of programatically obtaining the different
connection settings of the phone, and in particular the proxy
settings, so I can make a connection to the internet.
The phone I'm using (Cingular 2125) is configured with a certain
proxy, and connects to the internet through the local i.e without a
problem. However, when I try to connect through my app (using a
webrequest object), I can't get the connection to work unless I create
a WebProxy object with the correct address configured in the phone's
connection settings like so:
myRequest.Proxy = new System.Net.WebProxy(HARDCODED_ADDRESS:PORT)
Naturally, I need something more generic which would allow me to
retrieve the proxy settings of any phone.
How do I do that? Or is there another better way of obtaining a
connection that will work at least 99% of the time?
Thanks in advance,
Would appreciate any thoughts,
Roni Dover.