title: Unique ID for mobile device FMX
body: <p>What is a good way to create a unique ID for mobile devices (iOS and Android) in a C++Builder FMX app?</p>
  
  <p>In my case, I just want to let my app users vote, but only once per device (even if they delete the app and reinstall it).  They stay anonymous, but just can't vote more than once.</p>
  
  <p>I know Apple came out with DeviceCheck for Swift, but I don't know how to use it in C++.</p>
  
  <p><a href="https://medium.com/the-traveled-ios-developers-guide/devicecheck-6f3eafac60e5" rel="nofollow noreferrer">iOS 11: The DeviceCheck API</a></p>
  
  <p><a href="https://developerinsider.co/devicecheck-api-unique-identifier-for-the-ios-devices/" rel="nofollow noreferrer">DeviceCheck API - Unique Identifier for the iOS Devices</a></p>