Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8883899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:55:51+00:00 2026-06-14T20:55:51+00:00

before i reference non .net builtin(alternatives) i would like to know about The built-in

  • 0

before i reference non .net builtin(alternatives)

i would like to know about

The built-in .Net Classes could offer to use :

WebBrowser & WebBrowserBase Classes

what i would like to know is : what are the differences between those two ? .

as msdn noted in Later one – WebBrowserBase –

“This API supports the .NET Framework infrastructure and is not intended to be used directly from your code”

the question began with a simple task : retrieve a file(datasource xml) from a website .
sound simple? so you could use any method…, preferably simplest & resource efficient one.

but !

scenario is : that same source (single one to be reliable ) was blocking automatic traffic recently, by using cookies , as i could undersrand WebClient is using the same resources of your main browsers(IE9 in my case) .

….and after a research i have made, using a WebBrowser “Engine” as a file-retriever…

will do the job perfectly .

you could use any (not just Microsoft IE )

about other tests i have made you could visit :

http://seleniumhq.org/docs/03_webdriver.html

+

https://code.google.com/p/selenium/downloads/list

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T20:55:52+00:00Added an answer on June 14, 2026 at 8:55 pm

    Your problem

    scenario is, that same source (single one to be reliable) was blocking automatic traffic recently by using cookies`

    Well, if that is your problem (cookies) Why dont you try this web-client?

    public class CookieWebClient : WebClient
    {
        private readonly CookieContainer _cookies = new CookieContainer();
    
        protected override WebRequest GetWebRequest(Uri address)
        {
            WebRequest request = base.GetWebRequest(address);
            HttpWebRequest webRequest = request as HttpWebRequest;
            if (webRequest != null)
            {
                webRequest.CookieContainer = _cookies;
            }
            return request;
        }
    }
    

    WebBrowser vs WebBrowserBase

    As for the difference between WebBrowser and WebBrowserBase, WebBrowser inherits WebBrowserBase to extend it and make it into a full functional web-browser. Where WebBrowserBase comes in handy is if you would like to customize the WebBrowser beyond what is supported – you can override things and use WebBrowserBase to extend functionality and such. As a rule, unless you absolutely must, you should stick to just using the plain WebBrowser control – and only if you are rendering web pages or would like to use it to hackishly execute javascript.

    Comment about extending WebBrowser in general

    One of the most useful modifications I’ve found personally for the webbrowser was exposing the download flags, so you can control whether the webbrowser downloads images etc. A great example of how to do this is here: https://stackoverflow.com/a/7738174/184746

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like a way to get warnings when an object reference could potentially
I noticed people wrote about this circular reference problem quite a bit before but
I know that a temporary cannot be bound to a non-const reference, but it
In the following, would there be a temporary object created before const reference is
Before starting, I'm not asking about standard coding practice or etiquette. My question is
What is special about addid a parameterless constructor to a non serializable, extendable class.
By using of Xcode 5 and auto-reference counting is enabled. In a Non NavigationController
I have an odd question that I have always thought about, but could never
Static initializers are supposed to be executed once before the first reference to the
I'm using jQuery with the validators plugin. I would like to replace the required

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.