Can you log a Chassis intrusion in Win XP?

BIOS Questions that don't belong in the other forums. Read them!
Post Reply
revroy123
New visitors - please read the rules.
Posts: 1
Joined: Thu Sep 03, 2009 10:43 am

Can you log a Chassis intrusion in Win XP?

Post by revroy123 » Thu Sep 03, 2009 10:47 am

Hi all.

Can anyone tell me if its possible to log in Wiondows XP if someone has triggered the intrusion detection on the motherboard?

We are using Asus P5KPL-AM boards.

Thanks

edwin
The Hardware Archivist
Posts: 6206
Joined: Wed Mar 20, 2002 7:11 pm
Location: Netherlands
Contact:

Re: Can you log a Chassis intrusion in Win XP?

Post by edwin » Tue Jul 12, 2011 8:07 am

I found a bit of code elsewhere:

Code: Select all

Imports System
Imports System.Management
Imports System.Windows.Forms

Namespace WMISample

Public Class MyWMIQuery

Public Overloads Shared Function Main() As Integer

Try
Dim searcher As New ManagementObjectSearcher( _
"root\CIMV2", _
"SELECT * FROM Win32_SystemEnclosure") 

For Each queryObj As ManagementObject in searcher.Get()

Console.WriteLine("-----------------------------------")
Console.WriteLine("Win32_SystemEnclosure instance")
Console.WriteLine("-----------------------------------")
Console.WriteLine("BreachDescription: {0}", queryObj("BreachDescription"))
Next
Catch err As ManagementException
MessageBox.Show("An error occurred while querying for WMI data: " & err.Message)
End Try
End Function
End Class
End Namespace
edwin/evasive

Do not assume anything

System error, strike any user to continue...

Post Reply