Hi all,
I'm using a foreach loop to query remote PCs, for some reason querying a certain PCs the program sticks on the PC (maybe it's been turned off mid query), how can I wait for awhile (although a fixed length of time would be no good as some can take minutes to query others 30 mins) and then move on to the next PC?
foreach (String pc in pcs)
{
if (bg_worker.CancellationPending) break;
...
}
Thanks
Jade