summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 42600c3..78c62f7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -57,6 +57,12 @@ int main(int argc, char *argv[]) {
return -1;
}
+ char *uid = NULL;
+ if (lockdownd_get_device_uid(control, &uid)) {
+ printf("DeviceUniqueID : %s\n", uid);
+ free(uid);
+ }
+
port = lockdownd_start_service(control, "com.apple.afc");
if (port) {