Because of the PocketPC Connection Manager model, it is not as easy to
discover the appropriate proxy with the Compact Framework. Your best bet
is to check the value of the Proxy property on HttpWebRequest instance
AFTER the request has completed. That property will contain a WebProxy
instance that accurately reflects the proxy used for that request.
I hope this helps.
Mike Boilen
Developer
..NET Compact Framework
This posting is provided "AS IS" with no warranties, and confers no rights.
http://www.gotdotnet.com/team/netcf/FAQ.aspx
--------------------
| Content-Class: urn:content-classes:message
| From: "Manish B Parikh" <
[email protected]>
| Sender: "Manish B Parikh" <
[email protected]>
| Subject: To get Proxy Address
| Date: Mon, 15 Sep 2003 02:06:07 -0700
| Lines: 17
| Message-ID: <
[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Thread-Index: AcN7aJl2OFPNrTq/Q4mTvM3N12yiEg==
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Path: cpmsftngxa07.phx.gbl
| Xref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.compactframework:33343
| NNTP-Posting-Host: tk2msftngxa13.phx.gbl 10.40.1.165
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| HI,
|
| I am Working on Pocket PC 2002 application on iPaq 3760
| device.
|
| I need to get Proxy address in application which needs to
| be dippayed in Application.
|
| I tried for Proxy.GetDefaultProxy but it only works on
| Desktop and not on emulator / Device. It fails to return
| me the Proxy Address.
|
| Is any API/function available for same?
|
| Regards,
|
| Manish
|