How to get the URL of the current window using Selenium WebDriver in C#?
<p>In my application when sign-in, then it navigates to another page. Now I need to get that new URL using WebDriver in selenium C#.</p>

<p>I can't find any function to do this. I have tried <code>driver.Url</code>, 
<code>driver.getLocation()</code> and <code>driver.getCurrentUrl()</code>, but nothing is working in my C# application. So is it possible get the current URL somehow? After it gets navigated?</p>