从 Adob​​e AIR 读取机器的 MAC 地址 [英] read MAC address of machine from Adobe AIR

查看:28
本文介绍了从 Adob​​e AIR 读取机器的 MAC 地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从 Adob​​e AIR 读取机器的 MAC 地址.我使用的是 flex 3 和 AIR 2.

i want to read MAC address of machine from Adobe AIR. I am using flex 3 and AIR 2.

我该怎么做

主要目的是我只想在一台机器上安装那个产品

the main purpose is i want to install that product in only one machine

推荐答案

var ni:NetworkInfo = NetworkInfo.networkInfo;
var interfaceVector:Vector.<NetworkInterface> = ni.findInterfaces();

取自 Tour de Flex 桌面版中的网络信息示例.

Taken from the Network Info sample in the desktop version of Tour de Flex.

这篇关于从 Adob​​e AIR 读取机器的 MAC 地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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