EonaCat-Tools/EonaCatTools/Tools/uniqueIdentifier/DeviceIdentifier.h

22 lines
418 B
Objective-C

//
// DeviceIdentifier.h
// Created by EonaCat
// Copyright 2013 EonaCat. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface UIDevice (IdentifierAddition)
// Generate a sha1 hash of your MAC address with your bundle app identifier
- (NSString*) appIdentifier;
// Generate a sha1 hash of your MAC address
- (NSString*) deviceIdentifier;
// Get the MAC address
- (NSString*) macAddress;
@end