Chassis Intrusion API?
Some computer cases come with chassis intrusion dete开发者_JS百科ction.
I'd like my application to check for chassis intrusion on start-up and if an intrusion is detected to display an error and shut down.
Is there a standard way of reading this value programmatically? Is a BIOS password coupled with chassis intrusion detection reasonably difficult to work around in laptops?
Generally chassis intrusion info is available (on recent motherboards, recent being <5 years old) in the System Management BIOS (SMBIOS) or Desktop Management Interface (DMI) tables. Look at this for info about the DMI entries: there is one that gives up some form of chassis intrusion info. The console tool dmidecode
lets you get at that info on Linux: I'm sure there's a Windows programming interface, just don't quite know what it is. You can probably break open the source for dmidecode
and that should give you a good start.
Good luck.
精彩评论