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
+