Latest 1.2.0
Homepage https://github.com/mavris/MacFinder
License MIT
Platforms ios 8.0
Authors

MacFinder is a class that helps you find the MAC Address of a specific IP

Note

Issue for MAC Addresses on iOS 10.2 has been resolved thanks to [@mochasoft] (https://github.com/mochasoft)

Manual Installation

  • Add files in your Xcode project from: File-Add Files to YourProjectName-> Select MacFinder.m, MacFinder.h, route.h, if_arp.h and if_ether.h-> Click on "copy items if needed" -> OK (Or copy them from /MacFinder/Network Headers/ folder)

CocoaPods Installation

To install using CocoaPods, simply add the following line to your Podfile:

pod 'MacFinder'

How to use it

Import the class in your class:

#import "MacFinder.h"
NSString *mac = [MacFinder ip2mac:@”192.168.10.24"]; 

NSLog(@”Mac:%@”,mac);

That’s it!

More Details

Visit my [article] (https://medium.com/rocknnull/ios-from-ip-to-mac-address-1e3726ff6d2b#.kgbe3wipa) for MacFinder for more details

Authors

  • Michael Mavris

License

Copyright Miksoft 2017

Licensed under the MIT License

Latest podspec

{
    "name": "MacFinder",
    "version": "1.2.0",
    "summary": "MacFinder is a class that helps you find the MAC Address of a specific IP",
    "homepage": "https://github.com/mavris/MacFinder",
    "license": {
        "type": "MIT",
        "file": "LICENSE.txt"
    },
    "authors": {
        "mavris": "[email protected]"
    },
    "source": {
        "git": "https://github.com/mavris/MacFinder.git",
        "tag": "1.2.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "MacFinder/**/*.{h,m}"
}

Pin It on Pinterest

Share This