I need an code in VB.NET to login an website, and i dont know the form,boxes, or submit name, because its from my router, and believe me ITS IMPOSSIBLE to get the HTML from the login popup.

Well the popup is a basic authentication one, heres a screenshot example and one code example that worked for me but i want to know other ways to do that, because i want a code to do it hidden,if that is possible.


The url for login is:
http://192.168.0.1

User: admin
Pass: adminms


Screenshot:
http://www.skycomp.ca/outlooksetup/Images/login_popup.jpg


Code that worked, but i didnt liked that:

SendKeys.Send("admin")
        SendKeys.Send("{TAB}")
        SendKeys.Send("adminms")
        SendKeys.Send("{ENTER}")

You can use WebClient or WebRequest/WebResponse classes. Take a look at this thread.