I am returning an Icon not a bitmap or image by the way.

I need to know how to get an icon from the HTML of a webpage in my a Webbrowser control in my project.

A html code such as this:

<link rel="shortcut icon"
href="http://example.com/myicon.ico" />

The "http://example.com/myicon.ico" part could be anything, how would I extract an Icon from this?

Also somethings it can just be "/myicon.ico" without the rest of the url, how would I get an Icon from that?