I have a program that accesses an online server for information. 98% of the time there is no problem. But it seems that 2% are being blocked by the Windows firewall. Particularly with Windows 10.
Is there any way programmatically to determine whether Internet access is being blocked by the firewall? If so this would be very helpful to avoid support questions.
Any help would be appreciated.