I'm trying to get hold of the iframe elements and its content.

Basically, there is a site which has a webpage and within it, it has alot of elements (divs etc...) and within it, an iframe. I can see all the content in the iframe via the developer toolbar and also the view source no problem.

The thing is I need to "interrogate" the iframe and its content but cannot seem to find out a way of doing this using the webbrowser control. it works fine for non iframe stuff I guess. The closest match ive been able to get is the iframe element.

The HTML tags/code in developer toolbar looks something like the following:

Code:
..
..
<body>
<div id="pagelet_presence">
<div id="blueBar" />
<div id="globalContainer">
<div class="sitecontent clearfix" id="content">
<div id="mainContainer">
<div id="contentCol">
<div id="contentArea">
<div id="pagelet_canvas_content">
<div id="pagelet_iframe_canvas_content">
<div>

<iframe name="iframe_canvas_https" height="600".................>
<!DOCTYPE html public..............>
<html>
<head>
<body>
<div id="demoWrapper">
..
..
..
</div>
</body>
</head>
</html>
</div>
</div>
..
..

so its a main page with loads of divs and within it it eventually gets down to the iframe which is serving up some site but cannot obtain the site its serving as there is no indication of it at all.

Anyway, does anyone have any ideas AT ALL on how I can get into the iframe content?

the code ive currently got is simple, and can get up to the "iframe_canvas_https" element and not anything below that which is where I need to go to get the "demoWrapper" div elements.

doing a simple "this.webBrowser.Document.GetElementById("demoWrapper")" does not bring back anything.

Code:
HtmlElement potentialIFrame = this.webBrowser.Document.GetElementById("iframe_canvas_https");
is the current code.

its getting frustrating. I just want to get elements within that iframe. And yes, the page has been loaded fully at this point.