//
// DeviceIdentifier.h
// Wesync
//
// Created by yongrong on 12-10-29.
// Copyright (c) 2012年 sina weibo. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface DeviceIdentifier : NSObject
/*
* @method uniqueDeviceIdentifier
* @description use this method when you need a unique identifier in one app.
* It generates a hash from the MAC-address in combination with the bundle identifier
* of your app.
*/
- (NSString *) uniqueDeviceIdentifier;
/*
* @method uniqueGlobalDeviceIdentifier
* @description use this method when you need a unique global identifier to track a device
* with multiple apps. as example a advertising network will use this method to track the device
* from different apps.
* It generates a hash from the MAC-address only.
*/
- (NSString *) uniqueGlobalDeviceIdentifier;
@end
iOS使用网卡mac地址生成UUID
4星 · 超过85%的资源 需积分: 49 177 浏览量
2012-12-19
10:47:47
上传
评论 2
收藏 2KB ZIP 举报
于永荣
- 粉丝: 0
- 资源: 1