How to log into port 80 to enter credentials via a webbrowser control in c#?
<p>I have to use a webbrowser control which needs to log into an html page of the router  . 
I would like to  log into it but bypassing the log in pop up screen . </p>

<p>Please give me suggestions as to how I could achieve this via a webbrwoswer control on  a windows form.</p>

<p>Edit : This is what i could see in the source page after I inter the credentials . Not sure if it helps .</p>

<pre><code>if(F.now_proto.value == "pppoe" || F.now_proto.value == "pptp" || F.now_proto.value == "l2tp" || F.now_proto.value == "heartbeat"){
        if(F.ppp_username.value == ""){
//                      alert("You must input a username!");
                        alert(errmsg.err0);
            F.ppp_username.focus();
            return false;
        }
        if(F.ppp_passwd.value == ""){
//                      alert("You must input a passwd!");
                        alert(errmsg.err6);
            F.ppp_passwd.focus();
            return false;
        }
</code></pre>

<p>Update : Solution </p>

<p>webBrowser1.Navigate(http://username:password@192.168.1.1) </p>

<p>does it .  </p>
