在Windows 8的Metro应用程序中获取BIOS信息 [英] Get BIOS information in Metro Application of Windows 8

查看:45
本文介绍了在Windows 8的Metro应用程序中获取BIOS信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要从Windows 8中的Metro应用程序获取计算机的一些BIOS信息.但是Metro Application是一种沙箱程序,因此无法连接到本地.我怎么能得到我需要的信息.任何帮助表示赞赏.

我们可以使用WinRT来获取BIOS信息,还是可以使用混合应用程序(与C ++一起)来获取该信息?

[其他信息]

我尝试导入一些win32 dll(例如:kernel32.dll),并使用这些dll中的API来获取BIOS信息,但这对Windows Store是否违法?

解决方案

尝试将此问题发布到CP论坛"Windows API和WinRT/Metro" [ ^ ].

有人告诉我,Metro应用程序可以收到文件已更改(Win 8应用程序可能已更改)的通知,并通过读取文件来对此做出响应,但是到目前为止,有关任何数据交换的信息/Metro和其他一切之间的交互,除了文件监视通知之外,都丢失了.

请参阅我在这里提出的问题:[

I have a need to get some BIOS information of my computer from a Metro application in Windows 8. But Metro Application is a kind of sandbox program so it can not connect to local. How could I have that information I need. Any help is appreciated.

Can we use WinRT to get that BIOS information or use hybrid application (with C++) to get that information ???

[Additional information]

I try to import some win32 dlls (for example: kernel32.dll) and using APIs from those dlls to get BIOS information, but is this illegal to windows Store?

解决方案

Try posting this question on the CP Forum "Windows API and WinRT/Metro"[^].

A Metro app, I am told, can receive a notification a file has changed (it could have been changed by a Win 8 app), and respond to that by reading the file, but, as yet, information about any exchange of data/interaction between Metro and everything-else, beyond file-watch notification is ... missing.

See the question I raised here:[^] on that Forum I just referred you to, and the responses.

Personally, I find it hard to believe there cannot be a fast, dynamic, method of interchange of whatever between Metro and Win 8 apps, or some equivalent to what we have now with the relationship of .NET and API calls ... but it appears that way now: and, if, in the long run, that turns out to be true, then I will continue to believe that Metro and Win 8 are an example of "schizophrenia" :) (yes, personal bias)


这篇关于在Windows 8的Metro应用程序中获取BIOS信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆