The following code example uses the URL property.
| C# | Copy Code |
|---|---|
Document doc = tab.MainDocument;
string url = doc.URL; | |
| PHP | Copy Code |
|---|---|
$doc = $tab->MainDocument; $url = $doc->URL; | |
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family