serial-number

What is the simplest way to retrieve the device serial number of an iOS device using MonoTouch?

£可爱£侵袭症+ 提交于 2019-12-03 21:30:22
问题 Does MonoTouch have a simple mechanism for retrieving the device serial number (not UDID) of an iOS device? Is there a third-party library which I can use to obtain this? In case it matters, I'm looking to use this functionality in an in-house application and am not concerned with the App Store approval process. 回答1: UPDATE: from iOS 8, we cannot retrieve the serial number of our iDevice. To retrieve iphone serial number from Monotouch, you can use this technic: Create a static library .a

Generating unique codes in PHP/MySQL?

一曲冷凌霜 提交于 2019-12-03 18:55:17
问题 I'm working with a client that needs to generate millions of the alphanumeric codes used in magazine scratch-off cards, bottlecap prizes, and so on. They have to be short enough to print on a cap, they want to make sure that ambiguous characters like 1 and I, 0 and O, etc. are not included, and they have to be explicitly stored for future use -- we can't just have an algorithm that determines 'validity' when someone tries to redeem one. Finally, they want to make sure that the codes are

How to create serials key to protect an application

て烟熏妆下的殇ゞ 提交于 2019-12-03 16:13:18
I have an application that creates a serial key as follows: Take customername Sign customername using privatekey and sha/dsa algorithm Then license can be checked by decoding with public key, and checking cuastomername matches This works okay except that the generated serial is rather long. So it is not really practical for customer to type in the serial key instead they have to provide a serial with in a file, which is rather different to how mist applications and work and is confusing. Many other applications just provide the user with a Guid when they make a purchase i.e 5bd1060b-8608-4817

Get hardware serial number of Android device

余生长醉 提交于 2019-12-02 22:54:43
I need to get the hardware serial code of Android device where my app is installed. This hardware serial number is the one that you can see on Settings > About Device > Status > Serial number . I though I would get it using Settings.Secure.ANDROID_ID or android.os.Build.SERIAL , but neither of them worked, meaning that they didn't give me unique identifier I'm looking for. For instance android.os.Build.SERIAL got me the unique ID shown on ADB when you run the command adb devices . Notice that the goal of this question is not to find another unique identifier that could help me, it's only about

Hard disk id of SATA drives

扶醉桌前 提交于 2019-12-02 10:01:22
I am using Hard disk ID for my software to check if the authentic user is using the software. For IDE type hard disk i get the id using the procedure GetIdeSerialNumber. but in case of SATA drives it gives the id as blank. Then in case of SATA drives i am using volume id as unique id. but volume id will change when system is formatted Now I want to know which hard drive i am using ,and how to get the hard disk id of SATA drive in delphi 7 ? EDIT: the software according to client specifications needs to be locked to the hardware, the ID's concerned are MAC address HD id (SATA or IDE) Controller

C#/Native: Reading HDD Serial Using SCSI PassThrough

放肆的年华 提交于 2019-12-02 03:12:35
I have written three different methods that make use of native CreateFile and DeviceIoControl calls in order to retrieve the HDD Serial Number (not the Model Number). The first one uses S.M.A.R.T. , the second one uses Storage Query and the third one uses SCSI PassThrough . Most of my code is based on the content of this thread (with some fixes and improvements). Here are the results I get using diskid32 utility : Trying to read the drive IDs using physical access with admin rights Drive Model Number________________: [ST975XXXXX] Drive Serial Number_______________: [ 6WS2XXXX] Trying to read

C#/Native: Reading HDD Serial Using SCSI PassThrough

放肆的年华 提交于 2019-12-02 02:41:39
问题 I have written three different methods that make use of native CreateFile and DeviceIoControl calls in order to retrieve the HDD Serial Number (not the Model Number). The first one uses S.M.A.R.T. , the second one uses Storage Query and the third one uses SCSI PassThrough . Most of my code is based on the content of this thread (with some fixes and improvements). Here are the results I get using diskid32 utility: Trying to read the drive IDs using physical access with admin rights Drive Model

How do I uniquely identify an USB-device?

时光怂恿深爱的人放手 提交于 2019-12-01 20:22:14
问题 I was wondering how to get the unique id of a USB storage device. I already know how to fetch the SCSI serial id from this post : USB-drive serial number under linux C++ The post mentions using the Device Descriptor to get the ID. Can someone post some code to determine the Device Descriptor information under Linux? 回答1: ls -l /dev/disk/by-id 回答2: I do it with HAL in C++ / C by using QT. Found some blog about it: How to detect if /dev/* is a USB device Would be also possible to do it by using

How do I uniquely identify an USB-device?

﹥>﹥吖頭↗ 提交于 2019-12-01 19:22:17
I was wondering how to get the unique id of a USB storage device. I already know how to fetch the SCSI serial id from this post : USB-drive serial number under linux C++ The post mentions using the Device Descriptor to get the ID. Can someone post some code to determine the Device Descriptor information under Linux? ls -l /dev/disk/by-id I do it with HAL in C++ / C by using QT. Found some blog about it: How to detect if /dev/* is a USB device Would be also possible to do it by using shell & HAL. I suggest to use libusb . You can find the documentation here . duskwuff To add to what everyone

If I access the iPhone serial number inside an app, is it allowed in the App Store?

蹲街弑〆低调 提交于 2019-12-01 07:47:03
问题 I have read about the IOKit-Extension to get the serial number from an iPhone inside an app: blog.jdevelop.eu Actually i know one App in the Appstore which reads out the serial number and displays it, what now, is it allowed or not? Any experience? 回答1: From the developers site: Be aware that you cannot submit an App with this IOKit-Extension into the Appstore! 回答2: I do not think it is allowed, since Apple changed terms and conditions to prevent ad networks from using the UUID of the phone