Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to: programatically detect installed anti-virus ??

Status
Not open for further replies.

dima2

Programmer
Jan 20, 2002
85
0
0
LB
hi,
I'm developing a c++ windows application, and at some point in my program I need to scan some files for viruses.
Is there a way to detect which anti-virus is installed on the local machine in order to launch it programatically?

thx
 
One way would be to get the running processes on the machine. See "Process and Thread Functions" on MSDN.
You could try to find there if any AV is installed, by name comparing.
I don't know if there is any Windows Variable specifying that a program IS an AV program;
[red]Nosferatu[/red]
We are what we eat...
There's no such thing as free meal...
once stated: methane@personal.ro
 
hi,
and you can use registry, and search virus key.
it's easy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top