22 lines
418 B
C
22 lines
418 B
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
|