how to determine which Antivirus is running

  • Thread starter Thread starter auldh
  • Start date Start date
A

auldh

is there a simple with C# and Framework to determine what brand of antivirus
is running? ei., McAfee, Symantec, CA....

if not is it a matter of looking for each brand and see if there is one out
there? i see that windows can see if there is one because it does warn the
user that no Antivirus is running.

if so could i get either a small code sample or point me to the MSDN /
internet articles to help me find something?
 
is there a simple with C# and Framework to determine what brand of antivirus
is running? ei., McAfee, Symantec, CA....

if not is it a matter of looking for each brand and see if there is one out
there? i see that windows can see if there is one because it does warn the
user that no Antivirus is running.

if so could i get either a small code sample or point me to the MSDN /
internet articles to help me find something?

not sure if Vista has some API for thiss as part of the security set
it offer. The worst case scenario is having a list of known product's
process names and get the list of running processes using
Process.GetProcesses()
 
if not is it a matter of looking for each brand and see if there is
one out there? i see that windows can see if there is one because it
does warn the user that no Antivirus is running.

I do not think there is one, but you can search the registry for known
values ... perhaps. It will depend on the installing user's permissions.

Peace and Grace,
Greg

--
Vote for Miranda's Christmas Story
http://tinyurl.com/mirandabelieve

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
auldh said:
is there a simple with C# and Framework to determine what brand of antivirus
is running? ei., McAfee, Symantec, CA....

if not is it a matter of looking for each brand and see if there is one out
there? i see that windows can see if there is one because it does warn the
user that no Antivirus is running.

if so could i get either a small code sample or point me to the MSDN /
internet articles to help me find something?

I'm sure there's nothing in .NET per se that provides this. But, WMI is
often the solution for these kinds of "how is my computer configured?"
questions, and you can access WMI information from .NET.

So, probably the best direction for you to head is to investigate how to
get the information using WMI (which isn't a C# or .NET question), and
then apply the .NET support for WMI to the the answer to that.

Pete
 
thanks for the replies everyone. it appears i'm not being notified that my
posting is updated.

i will try the WMI but i'm not hopeful.
 
Back
Top