Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Windows.Forms;
- using SetProxy;
- namespace Web_Browser_Proxy_use
- {
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- private void button2_Click(object sender, EventArgs e)
- {
- WinInetInterop.SetConnectionProxy(textBox2.Text);
- label4.Text = textBox2.Text;
- }
- private void button1_Click(object sender, EventArgs e)
- {
- webBrowser1.Url = new Uri(textBox1.Text);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement