-
May 22nd, 2010, 11:24 PM
#1
Proxies in C# Web Browser (Help)
I was wondering how to allow for a changing proxy for the web browser component of a C# application.
Each time the page loads I need to change the proxy without changing the registry.
-
May 23rd, 2010, 11:14 AM
#2
Re: Proxies in C# Web Browser (Help)
The web browser automatically detects and incorporates the proxy settings in Internet Settings, and thus is matched to the machine from which the control will be sending streams. Since the proxy is local and not remote, why do you need to change the machine's proxy settings for every call? Are you trying to spoof something?
Knowing why you need to do something is as important as knowing what you are trying to do.
-
May 23rd, 2010, 11:59 AM
#3
Re: Proxies in C# Web Browser (Help)
I'm trying to design a bot that submits a form to a website.
Each time it submits the form, I need the web browser to change to a different proxy.
-
May 23rd, 2010, 12:55 PM
#4
Re: Proxies in C# Web Browser (Help)
Still not getting it -- sorry. The only thing the proxy would have to do with is accessing the WAN stream. If you want to spoof beign different machines, etc. then it wouldn't be the proxy you need to change, but the request headers. Far as I know, the remote machine doesn't have any access to read your proxy settings in any way -- changing your proxy wouldn't make any difference at all to the remote server unless you changed your request headers. You can spoof request headers a heck of a lot easier than reconfiguring the local machine's proxy for every request.
Unless I'm totally misunderstanding this, there's no reason or benefit to changin your local proxy every time you access a different page on a remote server.
If it's request headers you really need to change, NET versions have various security settings to prevent certain headers from being modified. Look at the old legacy MSXMLHTTP4 ActiveX --it allows you to modify any request header you want.
(edit) I was talking about httpwebrequest. using System.Net, you can still do everything manually.
-
June 1st, 2010, 04:24 PM
#5
Re: Proxies in C# Web Browser (Help)
mrgr8avill: You should not comment on subjects you do not understand. Not only does it not help the original poster, but you leave a permanent record of incorrect information on the internet for others to find.
The purpose of the proxy is to mask the end users true public IP address. By changing IP addresses the host website will see each request as coming from a different user. This is a common task and not an odd request worthy of your gentle flaming...
Takkun: I too am researching the most appropriate technique... ;-)
-
June 2nd, 2010, 01:38 AM
#6
Re: Proxies in C# Web Browser (Help)
Originally Posted by LynxSI
The purpose of the proxy is to mask the end users true public IP address. By changing IP addresses the host website will see each request as coming from a different user.
What is the purpose of this technique? Be aware that hacking or spoofing is in violation of the user agreement that you signed when you joined the site.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|