how to determine which Antivirus is running

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?
 
I

Ignacio Machin

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()
 
G

Gregory A. Beamer

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! |
*******************************************
 
P

Peter Duniho

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
 
A

auldh

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top