469,578 Members | 1,914 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,578 developers. It's quick & easy.

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?
Nov 16 '05 #1
3 4386
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:Je*************@discussions.microsoft.com]
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?

Nov 16 '05 #2
Im sure you could find information in the Platform SDK for SP2:
(release candidate)
http://www.microsoft.com/downloads/d...displaylang=en

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

On Wed, 14 Jul 2004 11:36:04 -0700, "Jefferson Cowart"
<Je*************@discussions.microsoft.com> wrote:
Where can I find a reference for those APIs. I've looked around and can't fine them.

"Kyril Magnos" wrote:
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:Je*************@discussions.microsoft.com]
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?


Nov 16 '05 #3
I was able to find one link that might be of help.

Platform SDK for Windows XP SP2 RC2:
http://www.microsoft.com/downloads/d...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" <Je*************@discussions.microsoft.com> wrote in
message news:DE**********************************@microsof t.com...
Where can I find a reference for those APIs. I've looked around and can't
fine them.

"Kyril Magnos" wrote:
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:Je*************@discussions.microsoft.com]
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?

Nov 16 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by PayPal | last post: by
2 posts views Thread by Matt Theule | last post: by
reply views Thread by Sergio E. | last post: by
reply views Thread by Sergio E. | last post: by
3 posts views Thread by Salad | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.