检查按哪个键从 USB 或 CD 启动?

发布于 2024-09-15 09:49:31 字数 256 浏览 0 评论 0原文

我需要检查用户必须按哪个键才能从 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

柠檬色的秋千 2024-09-22 09:49:31

如果不构建一个包含每种类型的主板和制造商的综合库(包括可能改变它的任何 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...")

回心转意 2024-09-22 09:49:31

在您想要按 Enter 或键的阶段,.NET 将永远不可用。

At the stage you want to press enter or key, .NET will never be available.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文