扫描本地网络时如何获取设备名称和设备类型?

时间:2015-05-12 10:35:11

标签: ios iphone

我正在扫描我的本地网络,我正在获取他们的IP和他们的mac地址,但我也想要设备名称,如“Hassan的Iphone”和设备类型,所以请帮助我如何得到它。

提前致谢

1 个答案:

答案 0 :(得分:3)

我认为您需要查看以下链接中的内容:

  

我们处理iPhone上的任何无线网络:802.11,GSM和蓝牙。   Stumbler可让您查看您所在地区的无线网络。虽然现在Stumbler只处理802.11网络,但很快您也应该看到蓝牙和GSM功能。 Stumbler仍然处于早期的Alpha阶段,但它功能齐全,非常稳定

但他们也完全提到:

无法通过应用商店分发Stumbler,因为它使用私有API!

以下是我发现上述Stumbler Google Code Project的博文link

所以我不确定即使你需要做什么,它也无法通过Apple App Store发布。

您最好也阅读以下StackOverflow答案:

  1. Programmatically finding IP address of another computer on LAN
  2. gethostbyname xcode issues
  3. https://stackoverflow.com/a/27099363/1752988
  4. How Scan devices in a LAN network
  5. Another blog post which mentioned about Stumbler tool
  6. iOS. get other device/computer name by IP in the same local network
  7. iOS - How to get device make and model?
  8. LAN-Scan Git Hub Project
  9. 我认为下次在你提出StackOverflow问题之前更好一点,请一起使用Google和StackOverflow在网上进行研究!

相关问题