API for the SP2 Security Center

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there any way I can have a C# program check to see if Anti-Virus software is installed using the same methods that the Windows XP SP2 security center checks. I'm writing a program that verifys a user has anti-virus software installed and running before allowing the user to proceed. If I can avoid having to re-write all the code and just hook into the Windows security center that would make my job much easier. Is this possible?
 
You can use the new SP2 APIs, but you are looking a lot of P/Invoke work.

HTH,

Kyril

-----Original Message-----
From: Jefferson Cowart [mailto:[email protected]]
Posted At: Wednesday, July 14, 2004 10:42 AM
Posted To: microsoft.public.dotnet.languages.csharp
Conversation: API for the SP2 Security Center
Subject: API for the SP2 Security Center

Is there any way I can have a C# program check to see if Anti-Virus software is
installed using the same methods that the Windows XP SP2 security center checks.
I'm writing a program that verifys a user has anti-virus software installed and
running before allowing the user to proceed. If I can avoid having to re-write
all the code and just hook into the Windows security center that would make my
job much easier. Is this possible?
 
Im sure you could find information in the Platform SDK for SP2:
(release candidate)
http://www.microsoft.com/downloads/...b3-585e-47d9-bcc1-980879b69b34&displaylang=en

--
Scott
http://www.OdeToCode.com

Where can I find a reference for those APIs. I've looked around and can't fine them.

Kyril Magnos said:
You can use the new SP2 APIs, but you are looking a lot of P/Invoke work.

HTH,

Kyril

-----Original Message-----
From: Jefferson Cowart [mailto:[email protected]]
Posted At: Wednesday, July 14, 2004 10:42 AM
Posted To: microsoft.public.dotnet.languages.csharp
Conversation: API for the SP2 Security Center
Subject: API for the SP2 Security Center

Is there any way I can have a C# program check to see if Anti-Virus software is
installed using the same methods that the Windows XP SP2 security center checks.
I'm writing a program that verifys a user has anti-virus software installed and
running before allowing the user to proceed. If I can avoid having to re-write
all the code and just hook into the Windows security center that would make my
job much easier. Is this possible?
 
I was able to find one link that might be of help.

Platform SDK for Windows XP SP2 RC2:
http://www.microsoft.com/downloads/...b3-585e-47d9-bcc1-980879b69b34&displaylang=en

It's a 200-something MB download and in an ISO image. But, it should have
most of what you need.

So far, MSFT has not posted all the information on the MSDN Website, but
they are working on it. Also, here is a link to a blog that contains info
about SP2

http://blogs.tonygoodhew.com/xpsp2/

There is a good article about accessing the new Windows Firewall from .NET

HTH,

Kyril

Jefferson Cowart said:
Where can I find a reference for those APIs. I've looked around and can't
fine them.

Kyril Magnos said:
You can use the new SP2 APIs, but you are looking a lot of P/Invoke work.

HTH,

Kyril

-----Original Message-----
From: Jefferson Cowart [mailto:[email protected]]
Posted At: Wednesday, July 14, 2004 10:42 AM
Posted To: microsoft.public.dotnet.languages.csharp
Conversation: API for the SP2 Security Center
Subject: API for the SP2 Security Center

Is there any way I can have a C# program check to see if Anti-Virus
software is
installed using the same methods that the Windows XP SP2 security center
checks.
I'm writing a program that verifys a user has anti-virus software
installed and
running before allowing the user to proceed. If I can avoid having to
re-write
all the code and just hook into the Windows security center that would
make my
job much easier. Is this possible?
 
Back
Top