How can get android device SN code in unity3d ? I try with
SystemInfo.deviceUniqueIdentifier.ToString()
I see more info but I can`t find my SN device code .
How can get android device SN code in unity3d ? I try with
SystemInfo.deviceUniqueIdentifier.ToString()
I see more info but I can`t find my SN device code .
Hi,
If you really want the serial number, try this:
AndroidJavaObject jo = new AndroidJavaObject("android.os.Build");
string serial = jo.GetStatic<string>("SERIAL");
Available from API level 9 (Build | Android Developers).