Silverlight 4 webbrowser control

1 Mar

One of the new controls in Silverlight 4 is a webbrowser control. The control lets you navigate to specified Uri’s and you could actually build your own Silverlight browser using the control.

But what is underneath the hood? Is it an Internet Explorer or does it use your default browser engine? Before finding the answer to this question I had a pretty good feeling about the result. To find out I constructed a very simple Silverlight application containing only the webbrowser control. I hardcoded the source of the control to http://www.b2knet.com/ – a website that can tell a little information about the browser that is used to navigate to the site.

On this computer Microsoft Internet Explorer 8.0.7600.16385 is my default browser. From http://www.b2knet.com/ I got the following result:

Browser: Microsoft Internet Explorer || Version: Mozilla 4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3)

Trying to set my default browser to Google Chrome 4.0.249.89 did not change on the result found above.

You find the Silverlight application here.

by xamlgeek

3 Responses to “Silverlight 4 webbrowser control”

  1. Kinect Blog July 29, 2010 at 16:41 #

    This is good information I am just trying to figure out how to use this control. Thanks! There is a good set of tutorials on the MS site: http://www.microsoft.com/design/toolbox/school/

Trackbacks/Pingbacks

  1. ScriptNotify in Silverlight 4 « thomas martinsen - March 29, 2010

    […] ScriptNotify in Silverlight 4 March 29, 2010 Silverlight 4 introduces a WebBrowser control which I have written a short post about this control here. […]

  2. 2010 in review « xamlgeek - January 3, 2011

    […] Silverlight 4 webbrowser control March 2010 2 comments 4 […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: