4

I am scanning my local network and i am getting their ip and their mac address, but i want also the device name like "Hassan's Iphone" and type of device, so help me how can i get this.

thanks in advance

David Snabel-Caunt
  • 57,804
  • 13
  • 114
  • 132

1 Answers1

3

I think you need to have a look at something like in the following link:

We deal with anything wireless on the iPhone: 802.11, GSM, and Bluetooth. Stumbler lets you view the wireless networks in your area. While right now Stumbler only handles 802.11 networks, soon you should see Bluetooth and GSM capabilities as well. Stumbler is still in a early Alpha stage, but it is fully functional, and pretty stable

However they also thoroughly mention that:

Stumbler can not be distributed through the app store, as it uses private APIs!

Following is the link to the blog post where I found the above Stumbler Google Code Project!

So I'm not sure even if what you require is possible to do, it won't be able to publish through the Apple App Store.

You better read the following StackOverflow answers too:

  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

I think it's better next time before you put a StackOverflow Question please research on the web using Google and StackOverflow both together!

Community
  • 1
  • 1
Randika Vishman
  • 7,983
  • 3
  • 57
  • 80
  • 1
    +1 for effort, @Randika thanks for your Answer and suggestion but still i didn't find answer of my question – Syed Muhammad Hassan May 14 '15 at 05:08
  • Yes, I know that you might not find an answer out of mine, but after all it's a help to improve the background knowledge isn't it? Anyway as I think your question is deeply involved in the research of the iOS Platform and its given capabilities to the public developers! – Randika Vishman May 14 '15 at 05:33