Hi,
we are migrating from IE to edge and one of our software was refreshing IE pages.
It was perfectly running for IE but of course not for Edge
could you provide me equivalent for edge of code here under?
thanks a lot
foreach (SHDocVw.InternetExplorer ieInst in new SHDocVw.ShellWindowsClass())
{
if (String.IsNullOrEmpty(ieInst.LocationURL) == true) continue;
foreach (string S in res)
{
if (ieInst.LocationURL.ToUpper().Contains(S)) //check if url contain a specific text
{
Library.Log(ieInst.LocationURL);
ieInst.Refresh();
break;
}
}
}
NB : this code was executed by a windows services

