Asked By
allan cox
20 points
N/A
Posted on - 09/03/2016
I am hosting a certain applications and I assume that either the user’s antivirus or firewall is the reason behind them not being able to access it. I am hosting my application on Windows and have permission to access all renowned antivirus software. I want to know how I can solve this.
How to detect if antivirus/firewall is blocking my application?
Open Action Centre from your PC by clicking on System and Security, from the  Control Panel, to review your computer's status and expand this section. If you are using command prompt, you can use the C# code with a try/catch block and catch the UnauthorizedAccessException to check if your app has relevant bugs. If your program has denied access to some of the user’s resources despite legitimate access permission, then you can straightaway inform the user, and suggest them to check if their downloader is in the Anti-virus’s trusted program list. Once they can verify the existence of the downloader of your app in the list, you can rest assured that the firewall/antivirus will no longer obstruct.