antivirus program on demand scan detection

  • Thread starter Thread starter ericmhhui
  • Start date Start date
E

ericmhhui

Hi,

Is there a way to detect if there's any anti-virus program running on
the computer with on-demand scan enabled?

I would need to show a warning from the application that it will
significantly slow down / may even corrupt databases in this case.

I found the IOfficeAntiVirus API from MSDN, but it doesn't seem to be
related to this problem.
http://msdn2.microsoft.com/en-us/library/ms537369(VS.85).aspx

Eric
 
From: <[email protected]>

| Hi,
|
| Is there a way to detect if there's any anti-virus program running on
| the computer with on-demand scan enabled?
|
| I would need to show a warning from the application that it will
| significantly slow down / may even corrupt databases in this case.
|
| I found the IOfficeAntiVirus API from MSDN, but it doesn't seem to be
| related to this problem.
| http://msdn2.microsoft.com/en-us/library/ms537369(VS.85).aspx
|
| Eric

By definition, On Demand can NOT be enabled. You have to tell an anti virus to perform a
scan when you demand it either manually or by a schedule.

What you mean is...
"Is there a way to detect if there's any anti-virus program running on the computer with On
Access scan enabled?"

On Access means that as a file is read or written to media it is scanned via signature
and/or heuristic detection for malicious code.

As to the question can you detect if a On Access scan enabled. Yes. However you would have
to study each and every anti virus scanners Registry entries (or other constructs) to
determine this. It can be assumed that each AV vendor will be different and no two (unless
one is an OEM of another) will be the same and you can't use the same detection method.
 
Back
Top