Serials on NFC Tags – truly unique? cloneable?

Are serial numbers of NFC tags truely unique? That depends on the tag product and what you consider truely unique. E.g.: ISO 14443 Type A tags with 4 byte serial numbers: There certainly exist duplicates (mainly because there is no clear scheme to divide the available range of serial numbers among the various manufacturers) and … Read more

SCOPE_IDENTITY() for GUIDs?

You can get the GUID back by using OUTPUT. This works when you’re inserting multiple records also. CREATE TABLE dbo.GuidPk ( ColGuid uniqueidentifier NOT NULL DEFAULT NewSequentialID(), Col2 int NOT NULL ) GO DECLARE @op TABLE ( ColGuid uniqueidentifier ) INSERT INTO dbo.GuidPk ( Col2 ) OUTPUT inserted.ColGuid INTO @op VALUES (1) SELECT * FROM … Read more

Programmatic Views how to set unique id’s?

Just want to add to Kaj’s answer, from API level 17, you can call View.generateViewId() then use the View.setId(int) method. In case you need it for targets lower than level 17, here is its internal implementation in View.java you can use directly in your project: private static final AtomicInteger sNextGeneratedId = new AtomicInteger(1); /** * … Read more

Is there really any way to uniquely identify any computer at all

How about adding motherboard serial number as well e.g.: using System.management; //Code for retrieving motherboard’s serial number ManagementObjectSearcher MOS = new ManagementObjectSearcher(“Select * From Win32_BaseBoard”); foreach (ManagementObject getserial in MOS.Get()) { textBox1.Text = getserial[“SerialNumber”].ToString(); } //Code for retrieving Processor’s Identity MOS = new ManagementObjectSearcher(“Select * From Win32_processor”); foreach (ManagementObject getPID in MOS.Get()) { textBox2.Text = … Read more