6

I would like to get All device name in entire local network. I just been searching over 2 days and haven't find a solution yet.

I can able to get Bonjour services with using NSNetServiceBrowser. What i am trying to do is same as Fing app ( in app store) does.

As screenshot below, I would like to get "My iPhone" iPhone name with iOS.

Fing can fetch all device name entire local-network successfully

Regards

Onder

Onder OZCAN
  • 1,556
  • 1
  • 16
  • 36

1 Answers1

2

Seems like NEHotspotHelper is what you're looking for. Specifically a class func supportedNetworkInterfaces() -> [Any] method.

In order to make it work, you'll need to accomplish some additional steps. Please, check this question to get more information.

Also don't forget to add NetworkExtension.framework to your target.

Community
  • 1
  • 1
Artem Stepanenko
  • 3,423
  • 6
  • 29
  • 51