New topic: How to Get CPU ID by RB?
<http://forums.realsoftware.com/viewtopic.php?t=41615> Page 1 of 1 [ 4 posts ] Previous topic | Next topic Author Message sonoffreedom Post subject: How to Get CPU ID by RB?Posted: Tue Nov 29, 2011 4:53 am Joined: Fri Oct 14, 2011 3:08 pm Posts: 115 How to Get CPU ID by RB? i want to generate serial number by CPU SERIAL NUMBER. _________________ Provide excellent Realbasic/iOS software development service,Shanghai Zhujun IT Corp.Email: [email protected] Top kbrunner Post subject: Re: How to Get CPU ID by RB?Posted: Tue Nov 29, 2011 5:06 am Joined: Tue Jan 15, 2008 1:21 am Posts: 5 I just did some research about this for my project. I think you are out of luck. Read the Wikipedia page: http://en.wikipedia.org/wiki/Processor_Serial_Number#Controversy_about_privacy_issues There it states: Quote:The Pentium III was the first x86 CPU to include a unique, retrievable, identification number, called PSN (Processor Serial Number). A Pentium III's PSN can be read by software through the CPUID instruction if this feature has not been disabled through the BIOS. On November 29, 1999, the Science and Technology Options Assessment (STOA) Panel of the European Parliament, following their report on electronic surveillance techniques asked parliamentary committee members to consider legal measures that would "prevent these chips from being installed in the computers of European citizens."[13] Eventually Intel decided to remove the PSN feature on Tualatin-based Pentium IIIs, and the feature was not carried through to the Pentium 4 or Pentium M. The feature does not exist in modern Intel x86 CPUs. The way I am identifying my client computers, is in storing a UUID on these machines. Another option is to read the MAC address. However you have to keep in mind that the MAC address can be modified by the users. It does not provide a high level of security. Top MonkeybreadSoftware Post subject: Re: How to Get CPU ID by RB?Posted: Tue Nov 29, 2011 6:32 am Joined: Wed May 10, 2006 2:42 pm Posts: 2221 Location: Germany Do you want to identify a PC or Mac? You could check out our SystemInformationMBS module: http://www.monkeybreadsoftware.net/modu ... nmbs.shtml Next release will add the Windows Product Key which is a great way to identify a PC (like Mac's serial number). Greetings Christian _________________ See you in Orlando, Florida for Real World 2012 More details and registration here: http://www.realsoftware.com/community/realworld.php Top DaveS Post subject: Re: How to Get CPU ID by RB?Posted: Tue Nov 29, 2011 10:06 am Joined: Sun Aug 05, 2007 10:46 am Posts: 3316 Location: San Diego, CA for OSX here is how to do it.... this is MACHINE Serial number, NOT CPU serial number Code: Dim sh As New Shell Dim s As String Dim x As Integer sh.execute "/usr/sbin/ioreg -l | /usr/bin/grep IOPlatformSerialNumber" s=sh.Result x=InStr(s,"=") If x>0 Then s=replaceall(Trim(Mid(s,x+1)),chr(34),"") If s="" Then s="no serial number" return s and yes.. if the computer has been repaired, and the Apple Tech forgot to reset the serial number it IS possible to not have one at all, usually only if they replace the motherboard, and don't follow their own repair protocols, so it is rare on Intel machines at least. _________________ Dave Sisemore MacPro, OSX 10.6.8 RB2011r3 Note : I am not interested in any solutions that involve custom Plug-ins of any kind Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 4 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
