可以在.NET Metro应用程序中获取网络MAC地址吗? [英] Possible to get network MAC address in .NET Metro app?

查看:54
本文介绍了可以在.NET Metro应用程序中获取网络MAC地址吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在Metro UI应用程序中获取网络接口的MAC地址.据我所知,.NET 4.5 for Metro应用程序API根本不支持此功能.我错了吗?

I have the requirement to get get the MAC address of the network interface in my Metro UI app. As far as I can tell, this is simply not supported in the .NET 4.5 for Metro application API. Am I wrong?

推荐答案

您只能从Metro Style应用程序访问低级网络信息,因此,使用现有的SDK不能实现.这是设计使然.

You are restricted from accessing low-level networking information from a Metro Style application, therefore this is not possible with the stock SDK. This is by design.

这篇关于可以在.NET Metro应用程序中获取网络MAC地址吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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