Get Unique Device Identifier

I wanted to ask if there is any way to get an information (like the UUID) that is unique for the current iPhone? I need this to prevent that some of my files can be copied to another iPhone. Thanks in advance.

Already found it. There is iPhoneSettings.uniqueIdentifier.