c# - The WebBrowser very slow in server from the second times calling -


when call navigatefrombrowser() first time, return fast, if called again, slowly, , timeout. btw, issue happens in windows server, , doesn't happen in windows client such win7.please advice why happens.

private void navigatefrombrowser()  {   using (var wb = new webbrowser())    {                     wb.width = width;                     wb.height = height;                     wb.scrollbarsenabled = false;                     wb.navigate(_url);                      while (wb.readystate != webbrowserreadystate.complete)                     {                         application.doevents();                     }     } } 


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -