在creator中如何获取网络讯息?

请教各位大大,之前我用过Unity查询相关网络讯息的介面像NetworkInterface.GetAllNetworkInterfaces()…
最近想转用creator来发展游戏项目。想问一下像以下的c# code在creator中要如何实现?

	NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces();
	foreach (NetworkInterface adapter in nics)
	{
		IPInterfaceProperties properties = adapter.GetIPProperties();
		Debug.Log(adapter.Description);
		Debug.Log(String.Empty.PadLeft(adapter.Description.Length, '='));
		Debug.Log("  Interface type .......................... : " + adapter.NetworkInterfaceType);
		Debug.Log("  Physical Address ........................ : " + adapter.GetPhysicalAddress().ToString());
		Debug.Log("  Is receive only.......................... : " + adapter.IsReceiveOnly);
		Debug.Log("  Multicast................................ : " + adapter.SupportsMulticast);
		if (adapter.NetworkInterfaceType.ToString()=="Ethernet") {
			tx_info.text += "Interface type ... : " + adapter.NetworkInterfaceType + "...";
			tx_info.text += "Physical Address ...: " +adapter.GetPhysicalAddress().ToString() + "...";
			tx_info.text += "receive only...: " +adapter.IsReceiveOnly + "...";
			tx_info.text += "Mcast...: " +adapter.SupportsMulticast + "\n";
		}
	}

看文档

感谢大大您的回应,只是我查过creator 1.4 API文档都没看到相关讯息,能否指点一二?

http://www.cocos.com/docs/creator/scripting/network.html

感谢大大讯息,这部份API我看过我也正在用这部份用在程序与Server透过htt或是socket沟通使用,但这跟我列的问题似乎有所不同,我的问题是在游戏程序中如何透过network interface获取physical address (所谓的Mac Address)等…

不过还是非常感谢!