Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
3
Question by InvalidCola · Nov 13, 2012 at 05:04 PM ·

How is SystemInfo.deviceUniqueIdentifier computed?

Does anyone know how SystemInfo.deviceUniqueIdentifier is computed for each platform?

I found this for Android (http://unity3d.com/unity/beta/notes-3): "Android: SystemInfo.deviceUniqueIdentifier is anonymized by calculating the MD5 sum of IMEI/MEID, ANDROID_ID or WiFi MAC - whichever is available"

What about PC/Mac/iOS/WebPlayer?

The documentation (http://docs.unity3d.com/Documentation/ScriptReference/SystemInfo-deviceUniqueIdentifier.html) doesn't contain much information.

The reason I am asking is because I am making a plugin that needs to work for all of these platforms.

Any information appreciated..

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Fattie · Sep 27, 2013 at 06:36 AM 0
Share

the answer's given here by Unity BUT

http://answers.unity3d.com/questions/373055/deviceuniqueidentifier-curiosity-.html

of course this has completely changed with iOS7 (late 2013). in fact, it is now all explained on the Unity manual page.

http://docs.unity3d.com/Documentation/ScriptReference/SystemInfo-deviceUniqueIdentifier.html

avatar image beetlejesss · Apr 21, 2015 at 12:59 PM 0
Share

Really need this answer for Windows (specifically Windows 7, if that makes a difference).

We have a unity application that is running on Windows, and we want windows to be able to generate the same hashed key as our application does.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by ZnoeySZI · Jan 29, 2014 at 03:45 PM

for Mac its your hardware UUID. http://www.imore.com/find-mac-udid-mac-app-store-beta-testing I think thats also for the mac browser.

for android it pulls from Settings.Secure.ANDROID_ID and does a md5 hex digest on it. There may be a fallback for mac addr or anything else in the link Another stack exchange question there's an android developers blog post about this too but I think the SE has the info you need + much more.

i haven't figured out PC yet, but ios is an api for vendor_id or ad_id unless its something before ios 7.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ___Petr___ · Oct 28, 2014 at 12:18 PM 0
Share

What about iOS (8)? Can you say please - could SystemInfo.deviceUniqueIdentifier change between launches?

avatar image
0

Answer by Zbleka · Mar 06, 2013 at 01:38 AM

I can't realy tell you how it is computed on all those platforms but I can tell you how long does it take on several PCs:

  • Intel Core2 Quad Q6600, 2.40 GHz | Windows 8 || 1.3 sec

  • Intel Xeon E7-4830, 2.00 GHz | Windows server 2008 || 4.5 sec

  • QEMU Virtual CPU (cpu64-rhel6), 2.60 GHz | Windows server 2008 || 12.5 sec

Quite interesting, is not it?

(Unity 4.0.0f7, win32, -batchmode -nographics)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

13 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

iPhone Unique Identifier 1 Answer

What is Unique device id in windows systems? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges