samy
samy

Reputation: 1969

c# surfing the web with vpn

im thinking on building a simple software, that can I surf the web with, using the WebBrowser object. but, making sure that im under a vpn or proxy.

im wondering if it is even possible, to connect to a vpn or proxy service with some api and, get a new ip every an hour or time i choose.

if its possible, can u give me some refrences? like, what do i need to learn to achive this?

Upvotes: 1

Views: 2270

Answers (1)

crlanglois
crlanglois

Reputation: 3609

This is actually quite simple, here's an example to get you started with the WebBrowser control, you can have this up in minutes. Web Browser Example

After this you're just adding the logic for your VPN or proxy, which is completely dependent on which you choose.

This might help if you're trying to not affect the system settings for IE: Proxy Settings

Although if you can, it's likely easier to just set them in the registry if you don't mind affecting IE. This on changing the registry: Proxy Settings in the Registry

As far as information specific to how to obtain a proxy, authentication, etc, you'll need to pick a proxy service you want to use and read up on them. That should simply be a search engine research project.

Upvotes: 2

Related Questions