Questions tagged [serial-number]

A unique code assigned for identification of a single unit or device.

Read more on wikipedia: https://en.wikipedia.org/wiki/Serial_code

292 questions
0
votes
2 answers

How to get Serial Number (processor tray) with Cocoa

By typing : system_profiler SPHardwareDataType | grep 'Serial Number' I get 2 serial numbers. The first ("Serial Number (system)") can be put in NSString by : (NSString *)IORegistryEntryCreateCFProperty(IORegistryEntryFromPath(kIOMasterPortDefault,…
Stephane
  • 391
  • 1
  • 2
  • 13
0
votes
2 answers

Check volume serial number within a bat file

Im writing a batch script to run on a flash drive. I need to validate the volume serial number of flash drive inside the code, therefore nobody should be able to run it from a different location. Does anyone know how to validate serial number inside…
yrk
  • 67
  • 3
  • 10
0
votes
2 answers

Add new datagridRow, sort the datagrid and give serial numbers, in FLEX

I have a datagrid. I add a row to the datagrid using an ADD button. Once I add, I sort the datagrid based on a column. I also provide the serial numbers i.e. row numbers as first column to the datagrid. But, the serial number function does not apply…
user120118
  • 65
  • 3
  • 8
  • 18
-1
votes
2 answers

Add serial number for each id based on dates

I have a dataset like shown below (except the Ser_NO, this is the field i want to create). +--------+------------+--------+ | CaseID | Order_Date | Ser_No | +--------+------------+--------+ | 44 | 22-01-2018 | 1 …
-1
votes
1 answer

Get serial num of removable usb harddrive in vb6

Am trying to get the manufacturer serial number (not volume number) of usb external harddrives or disk? [EDIT] i don't know or have any code yet on how to do this. the previous method i tried only returned the volume serial number
Smith
  • 5,765
  • 17
  • 102
  • 161
-1
votes
1 answer

What would be the code for serial number authentication?

I am programming in visual basic 2008 I would like to set up serial numebers for software im developing. I would like to prevent software theft by ensuring that each purchased copy has a unique serial number that can only be used once. How would i…
-1
votes
1 answer

how to create automatic series number which are primary key for that table which has the following series JTM0605160001..... in SQL

I want to create a automaprimary key(auto-increment) which is start with JTM0605160001. Here JTM: would be constant 060516: date in ddmmyy format (06-day 05-month 16-year 0001 would be iterate So when the user want to input the data, there is…
-1
votes
1 answer

Get the IMEI and Serial Number of Connected [Android] Phone

i am developing a WinForm C# Application that needs to read the IMEI and Serial Number of a Connected [Android] Phone. is it possible to do this ? i found an existing application that Gets the IMEI and Serial Number of a phone but it is for iPhones…
TheQuestioner
  • 702
  • 10
  • 28
-1
votes
2 answers

Auto Generated Serial Number using Stored Procedure

I want to create a procedure which would create a serial number using a stored procedure. I have three tables: Table 1: create table ItemTypes ( ItemTypeID int not null primary key, ItemType varchar(30) ) Table 2: create table…
-1
votes
1 answer

How to uniquely identify a computer based on Gmail, Skype and Apple updates

I bought an iMac some time ago. Although it was stolen some time ago, I managed to get the Serial Number from the provider who sold it to me. The point is that I know who took it and also that he is using it. I have received gmail from him and also…
Pete
  • 17
-1
votes
2 answers

Ordered serial numbers with leading zeroes

I'm trying to generate a list of ordered serial numbers with leading zeroes like this: 00000000001 00000000002 00000000003 ... ... 00000000101 00000000102 00000000103 ... ... 00099999991 00099999992 ... ... 99999999999 - END My best attempt is…
pedro
  • 3
  • 1
-1
votes
1 answer

How to get serial number for all of computer's hardware via C#.Net?

How to get serial number for all of computer's hardware via C#.Net? Like Mouse, Keyboard, Speaker, Printer and so on? And is it possible to get name of company and model of them? thanks.
-2
votes
1 answer

How can I fix the number counting from 0 to 100 in php

Suppose I have an array like that $test= array(5,4,8,9,3,7,2,10,1); Now I'll print them foreach($test as $key => $value){ echo "
  • $value
"; } but I want my output will be all numbers showing serially…
-2
votes
1 answer

Delphi: bugs while getting motherboard serial number

There are 2 good examples how to get a serial number: How to get motherboard id or serial number in Delphi? All they work for me (Windows 7). But for 2 people they don't! The Option 1 (Microsoft WMIScripting Library) returns an error which cannot be…
maxfax
  • 4,281
  • 12
  • 74
  • 120
-2
votes
1 answer

Android device Serial number winforms c#

I have a problem with reading the serial number from the USB Android Device and write it to the label in Windows Forms C#. I have tried to dig in WMI using WQL but I didn't find the Serial Number property. SerialNumber
1 2 3
19
20