I am looking for code in C# where my question is:
Step 1: I open a IE window and browse to http://www.google.com
Step2: I open the Visual Studio Team System 2008 and now want to write a C# code such that,
1. The code verifies that an active IE browser is open.
2. Output the URL of the active browser.
Can anyone please give me a C# code for this?