• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 509
  • Last Modified:

Winform Proxy

I have a winfrom app which calls our webservice

some clients have proxy some dont.

Do we have to account for proxy or does the winform automatically get it from IE settings ?

Thanks in advance
-Smit
0
ullfindsmit
Asked:
ullfindsmit
  • 2
1 Solution
 
Fahad MukhtarDistinguished EngineerCommented:
You have to take care of this. Make a form to ask the user if he uses proxy or not .. also ask for the proxy credentials for the user in the same form... Heres a good tutorial for this.
http://www.c-sharpcorner.com/UploadFile/thiagu304/webservicebehindproxy11212006054829AM/webservicebehindproxy.aspx
0
 
ullfindsmitAuthor Commented:
is there a way without having the user to specify their proxy settings
we can get the default proxy IE is using? could be Static/dynamic/autodect proxy option
0
 
ullfindsmitAuthor Commented:
that actually was not the answer I was looking for.

anyhow, here is what I ended up doing, for someone who might hit the same wall in the future

I added a form where users can enter their credentials for the firewall and the firewall info.

somewhat similar to the options on the IE options window

hope this explains
-smit.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now