检查按哪个键从 USB 或 CD 启动?
我需要检查用户必须按哪个键才能从 USB 闪存盘或 CD 启动他们的电脑。
它取决于 BIOS 制造商,还是主板的制造商/型号?
有人告诉我有一个不错的开源 Speccy 来获取有关硬件的一些信息,但是有吗我可以使用一个库从(.Net)程序获取相同的信息并准确地告诉用户在他们自己的计算机上按哪个键?
谢谢。
I need to check which key the user must hit to boot their PC from a USB key or a CD.
Does it depend on the BIOS maker, or on the maker/model of the motherboard?
I was told about the nice, open-source Speccy to get some information on the hardware, but is there a library that I could use to get the same info from a (.Net) program and tell users precisely which key to hit on their very own computer?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果不构建一个包含每种类型的主板和制造商的综合库(包括可能改变它的任何 BIOS 更新),您就不可能找到这一点。
您应该只要求用户在计算机启动时按照屏幕上的说明选择启动设备,并可能提供一些可能的建议(“它会要求您按功能键...”)
There is no way you'll be able to find this out without building a comprehensive library of every single type of motherboard and manufacturer ever made, including any BIOS updates that might change it.
You should just ask the user to follow on-screen instructions when their computer to boots to select the boot device, and maybe offer some likely suggestions ("It will ask you to press a function key...")
在您想要按 Enter 或键的阶段,.NET 将永远不可用。
At the stage you want to press enter or key, .NET will never be available.