c# - WebBrowser is asking for credentials on every page -


i'm using web browser control , constructor of form hosts web browser control:

string user = "xxx"; string pass = "xxx"; string authhdr = "authorization: basic " + convert.tobase64string(encoding.ascii.getbytes(user + ":" + pass)) + "\r\n"; mybrowser.navigate("http://xxx.xxx.xxx/homepage", null, null, authhdr); 

browser opens first page (homepage, using mybrowser.navigate()) successfully, when click link on page asks me credentials again. there method or property setting credentials navigating actions?


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -