Chassis Intrusion API?

耗尽温柔 提交于 2021-01-24 08:57:11

问题


Some computer cases come with chassis intrusion detection.

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?


回答1:


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.



来源:https://stackoverflow.com/questions/7133899/chassis-intrusion-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!