C# - 获取应用程序的通用MAC地址 [英] C# - Get mac address in Universal Apps
问题描述
我正在开发一个Windows 10通用的应用程序,而我需要在通用的应用程序将运行设备的网络适配器的MAC地址。我查了一下到MSDN,但我能找到一种方式来获得的mac地址,任何人都可以帮助我的代码得到普遍应用的网络适配器适用于Windows 10的mac地址?
I am developing a Windows 10 Universal App, and I need to get the mac address of the network adapters of the device on which the universal app will run. I looked a bit into MSDN but I could find a way to get the mac address, can anyone help me out with the code to get the mac address of network adapters in universal apps for windows 10?
在此先感谢
推荐答案
从MSDN Fourms后加引号的如何可以在Windows Store应用接入网卡设备的MAC地址的
Quoting from the MSDN Fourms post "How can a Windows Store App access the MAC addresses of network adapter devices"
一般来说,你没有办法让设计从Windows Store应用程序的系统特定信息
In general you don't have a way to get system-specific information from Windows Store apps by design.
有是支持的特殊情况:在使用App特定的硬件ID(ASHWID)指导来实现每个设备的应用程序逻辑
There is a special case that is supported: Guidance on using the App Specific Hardware ID (ASHWID) to implement per-device app logic
查Walbourn - MSFT微软公司(MSFT)
这篇关于C# - 获取应用程序的通用MAC地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!