Hi everyone! I need your assistance in creating a c# based web browser. I want to change the useragent string but i don't know how to. I'm a newbie, I'm curious and finding this interesting.

There are few things I like to implement with this browser and i need your help to learn.

I have read a few stuff online and about but i'm still stuck. Below is the code, please advise in layman's term. And please pardon me if I ask too much questions on here.

Thanks in advance.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace IbinuBrowser
    public partial class Form1 : Form

        public Form1()

        private void Form1_Load(object sender, EventArgs e)


        private void button2_Click(object sender, EventArgs e)
            string Webpage = textBox1.Text.Trim();


        private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
            webBrowser1.ScriptErrorsSuppressed = true;

        private void button1_Click(object sender, EventArgs e)


1 Year
Discussion Span
Last Post by rproffitt
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.