LazSerial v0.2 Serial Port Component for Lazarus (windows and linux). By Jurassic Pork 03/2013 - 01/2017 This library is Free software; you can rediStribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of. Using ActiveXperts Serial Port Component with Delphi ActiveXperts Serial Port Component is a software development kit (SDK) that enables the user to communicate to a device over a serial interface. Such a device can be: a weight indicator, a modem, a scanner, or any other device that is equiped with a serial port.
Well, just glancing at the page I suggested , at least 1 of the components DOES give you the serial number:'By AA. CPUID asm instruction wrapper component, reveals CPU's Serial Number, Cache Descriptor and available features (FPU, VME, DE, PSE, TSC, MSR, PAE, MCE, CX8, APIC, SEP, MTRR, PGE, MCA, CMOV, PAT, PSE-36, PSN/PPN, CLFlush, DTES, ACPI, MMX, FXSR, ISSE/XMM, ISSE2, SSNOOP, ACC, JMPE), retrieves Windows Global Info (Hardware Profile, System, OS Version and Memory Status). Calls CPUID for virtually any specified level and get all of the results.You may even see it's capabilities in design mode, just right-click and pick one of 4 samples on the menu items. And,Why not use Hard disk serial number?
I used that for my software at my previous job.GetVolumeInformation.ShuThe code from EXEX:Accepted Answer from simonetDate: 07:24AM ISTAccepted AnswerCPUs have no serial numbers. Only very few P-III were released with this feature, and Intel didn't make the code public available.For HD's you can use this routine:function GetVolSN(Volumn:String):st ring;varsVolName, sFName: Array0.20 of Char;dwVolSN, dwMaxFNameLen, dwFlag: DWORD;beginresult:=';if GetVolumeInformation(PChar (Volumn), sVolName, 20,@dwVolSN,dwMaxFNameLen, dwFlag, sFName, 20) thenresult:= IntToHex(dwVolSN, 8);end;Usage: GetVolSN('C:');YOurs,Alex. Motaz#1) I don't understand how does one determine whether there is more probability that a user would replace his hard disk and not the motherboard: Somebody could just as well upgrade the motherboard:-) And I have observed that in commercial organizations, people most probably get new systems: very few upgrades, so nither CPU nor harddisk works.#2) Not all CPUs have a serial number (only P3 onwards) and it seems serial numbers of BIOS are not unique.Any way, check this:Cheers!Snehanshu. I want to give my customers a cd, containing a valid version only can run on thier computer by using unique serial number, and most of them solve thier windows problems by formatting thier hard disk, so that they need another copy of the application,I cann't determine wither they replace the hard disk with another one (and run this application in another computer), and gave me a new hard disk, or they are really format itanyway, as I was said, it is the last solution (althought it is my first thinking on protecting my application)Motaz. Motaz,Thank you for the points!I cann't determine wither they replace the hard disk with another one (and run this application in another computer), and gave me a new hard disk, or they are really format itWell, you could copy the serial number to a floppy and take it with you for your reference so that next time you are required to install the S/W, you could cross-check. Perhaps you could use a combination of HDD S/No and BIOS Serial Number.Just a suggestion.
(We also had all these issues discussed when we finalized on HDD serial number security!):-).Snehanshu. Hi!I would think fingerprint.combinin g bios id/version features, hd serial, maybe some timing info and then produce a fingerprint that allows for some deviation. If no timings are involved you can probably rely on that two computers wont get EXACTLY the same fingerprint.Fingerprints(read checksums) can be combined with other bits of info to identifya system with (i am guessing) more than 90% probability. That would be ok would it not?Would be fairly simple to gather components that does the job.//Olas. Hi Motaz, And Hi To All,For software protection I face the same problem, but I want to mention some points:1- The Hard Disk Serial no that you all talk about it, it is not a Serial No., but it is a Volume Serial No That becomes when you make a format to the Hard Disk. So it must be Unique, but it is not. Because by some software you can copy this volume serial no and also you can change it, because it is a Logical Serial No, Not Physical.2- So The Physical Hard Disk Serial No.
It is a number that fixed on external Hard Disk cover and It is very Difficult to depend on that because the component that I test is worked only with Win98, And Also The BIOS Component only worked with Win2000 / XP, So we don't have a component that worked with Poth Operating System.3- So What I do with my software I make the protection with Hard Disk Volume Serial Number and I store it Encrypted in the Database.that is the last solution that I find it for four years of searching.Best Regards To allOsama.