We've had problems with a virus scanner murdering the performance of our app by slowing down writes to an H2 db. So we'd like to be able to detect the presence of any virus scanner and alert the user of the potential problem. It would be part of a problem detection retue that would alert users to known performance factors specific to their systems.
The current suggestion is a write test that displays the warning if a disk write takes an unreasonable amount of time. That does get to the actual problem, but not to the cause. So, is there any reliable and direct way to detect virus protection, one that doesn't rely on indirect effects? We might end up doing both, but it would be nice to be curtain in our 'suggestions'.