serial-number

Getting Serial Number of the Hard Drive Provided by the manufacturer through PHP

China☆狼群 提交于 2019-11-29 04:52:07
Getting Serial Number of the Hard Drive Provided by the manufacturer through PHP : How can it be done? I want to store it in a file. OS : windows 2000,XP,ME,Vista... Yes, I want the serial number of the hard drive of the Server. Or can it be done through Adobe AIR? Or can it be done through a C program on Windows? C:\Documents and Settings\Administrator>dir Volume in drive C has no label. Volume Serial Number is BC16-5D5F Is this number : BC16-5d5f unique for a hard drive? How is it different from the manufacturer given serial number? wmic DISKDRIVE GET SerialNumber Displays only the following

How to get motherboard id or serial number in Delphi?

安稳与你 提交于 2019-11-28 23:51:28
How do I get the motherboard ID or serial number from Delphi code? Is there any example code or articles that I can look at? try using the WMI Win32_BaseBoard Class . see theses samples: Option 1) before execute you need import the Microsoft WMIScripting Library from Component -> Import Component and then select Import type library program GetWMI_MotherBoardInfo; {$APPTYPE CONSOLE} uses ActiveX, Variants, SysUtils, WbemScripting_TLB in '..\..\..\Documents\RAD Studio\5.0\Imports\WbemScripting_TLB.pas';// Function GetMotherBoardSerial:string; var WMIServices : ISWbemServices; Root :

How can I retrieve an SD card's serial number in Android 7.0+?

纵然是瞬间 提交于 2019-11-28 22:29:30
问题 In some versions of Android, and other variants of Linux, it's possible to get the serial number of a mounted SD card, e.g. by reading the contents of /sys/class/mmc_host/mmc0/mmc0:0001/serial or /sys/block/mmcblk0/device/serial (specific numbers may vary). In my testing this has worked pretty reliably, as long as the SD card is inserted in a built-in SD card slot (not mounted via USB adapter). But as of Android 7.0 Nougat, the OS is said to be blocking access to this information, at least on

Serial number of Hard Disk or Hard Drive

僤鯓⒐⒋嵵緔 提交于 2019-11-28 20:54:30
At first it may seems it is very easy question and some body may be trying to give me advice to try Google, it may be so. But for me it is very hard I have try Google, Stack Overflow and can’t find any good solution. Just want to get Serial number of Hard Disk or Hard Drive using C# Please read carefully: serial number of Hard Disk, but not Serial number of Volume of Hard Disk (e.g. C, D, E, etc). For getting serial no of volume of hard disk I have found solution on net and its work well but problem is with Getting serial number of Hard Disk. Some body may trying to make this question as

CPU serial number

情到浓时终转凉″ 提交于 2019-11-28 09:53:31
How do I obtain the serial number of the CPU in a PC? Based upon 'licensing' tag you have used for your question, you might get better results reading network MAC address . Identifying PC by a MAC address isn't totally unbreakable method for copy protection, still it is sometimes used. I have the ultimate answer for this without any external libraries. Simply type this: wmic bios get serialnumber This will give you the Serial Number on the PCs chassis ;) (found in microsoft's knowledge base) Regards! Remember that most computers these days ship with CPU ID disabled in the BIOS. See CPUID on

How to generate an unique computer id on Delphi?

北城余情 提交于 2019-11-28 08:46:05
How can I quickly generate an unique computer id for a delphi app? I used to do it easly with c#, but this failed sometimes. I do want the ID to be "static" but I don't care if the id changes because of a hardware change or OS reinstallation, I was planning to store it in the registry and check it when the app starts, and if it changed update the registry. (I know how to code the registry part, I only need help for the unique id). Thanks. Frederik Slijkerman Use the hard disk serial number or MAC address: How to get serial number from hard disks? Generating a unique machine id Have a look at

How do I get the disk drive serial number in C/C++

南笙酒味 提交于 2019-11-28 08:38:09
This has been already answered but it's a C# solution. How do I do this in C or C++? There are a few ways to do this. You could make calls using system to get the information. For Linux: system("hdparm -i /dev/hda | grep -i serial"); Without using system: static struct hd_driveid hd; int fd; if ((fd = open("/dev/hda", O_RDONLY | O_NONBLOCK)) < 0) { printf("ERROR opening /dev/hda\n"); exit(1); } if (!ioctl(fd, HDIO_GET_IDENTITY, &hd)) { printf("%.20s\n", hd.serial_no); } else if (errno == -ENOMSG) { printf("No serial number available\n"); } else { perror("ERROR: HDIO_GET_IDENTITY"); exit(1); }

How to find Serial Number, IMEI number using iOS SDK

ぃ、小莉子 提交于 2019-11-28 02:02:34
In my project i want to get the serial number and IMEI number using iOS SDK, What API's we can use to get in iOS7. I went through few links where they are using IO Frameworks, If we use those Apple will reject the App. How can we got forward. Apple does not allow you the retrieve any device specific information like IMEI, UDID, Mac address, serial number, etc.. This has to do with the misuse of these identifier and the privacy of the user. Apple forbids retrieving such information, as this is potentially harmful to the end users. Instead they provide you with identifierForVendor: An

Getting Serial Number of the Hard Drive Provided by the manufacturer through PHP

北慕城南 提交于 2019-11-27 18:55:48
问题 Getting Serial Number of the Hard Drive Provided by the manufacturer through PHP : How can it be done? I want to store it in a file. OS : windows 2000,XP,ME,Vista... Yes, I want the serial number of the hard drive of the Server. Or can it be done through Adobe AIR? Or can it be done through a C program on Windows? C:\Documents and Settings\Administrator>dir Volume in drive C has no label. Volume Serial Number is BC16-5D5F Is this number : BC16-5d5f unique for a hard drive? How is it different

Out of curiosity: How are serial numbers generated? Hints, Algorithms? [closed]

橙三吉。 提交于 2019-11-27 16:51:44
I wondering about how serial number generators and validator work. My aim would be to generate a serial number with five parts consisting of numbers and letters only. I enjoy coding as a hobby and would not call myself a professional programmer. However, I am very interested in how those interesting functions work technically to broaden my mind. Any hints, experiences or written algorithms are appreciated. Brandon Staggs wrote a good article on Implementing a Partial Serial Number Verification System . The examples are written in Delphi, but could be converted to other languages. Get yourself