<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Code Library &#187; serial number</title>
	<atom:link href="http://www.ucosoft.com/tag/serial-number/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ucosoft.com</link>
	<description>Free Source Code and Program Tips</description>
	<lastBuildDate>Thu, 22 Jul 2010 05:17:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to get a fixed code for serial number(2)</title>
		<link>http://www.ucosoft.com/how-to-get-a-fixed-code-for-serial-number2.html</link>
		<comments>http://www.ucosoft.com/how-to-get-a-fixed-code-for-serial-number2.html#comments</comments>
		<pubDate>Thu, 11 Jan 2007 00:41:45 +0000</pubDate>
		<dc:creator>support</dc:creator>
				<category><![CDATA[Win32/MFC]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[sdk]]></category>
		<category><![CDATA[serial number]]></category>
		<category><![CDATA[shareware]]></category>

		<guid isPermaLink="false">http://www.ucosoft.com/archives/73.html</guid>
		<description><![CDATA[I have post an article about &#8220;How to get a fixed code for serial number&#8221; at http://www.ucosoft.com/archives/51.html. In that article, I suggest you&#160;try WMI class to retrieve &#160;some hardware ID. But there is some limitation of this method. The WMI redist package is not always available on user&#8217;s system, for example, Windows NT4 and Windows [...]]]></description>
			<content:encoded><![CDATA[<p>I have post an article about &#8220;How to get a fixed code for serial number&#8221; at <a href="http://www.ucosoft.com/archives/51.html">http://www.ucosoft.com/archives/51.html</a>. In that article, I suggest you&nbsp;try <a href="http://www.ucosoft.com/archives/60.html">WMI class</a> to retrieve &nbsp;some hardware ID. But there is some limitation of this method.</p>
<p>The WMI redist package is not always available on user&#8217;s system, for example, Windows NT4 and Windows 95/98.&nbsp; And the <a href="http://en.wikipedia.org/wiki/Volume_serial_number">Volume Serial Number of HDD</a> can be easily changed while the&nbsp;CPU ID is not always available. </p>
<p>As <em>Walter Wang</em> said, the manufacturer of harddisk&nbsp;stored a unique Firmware Serial Number in the harddisk when it&#8217;s built. It doesn&#8217;t change with Operating System Changes or HDD formatting. So I should serve your purpose.</p>
<p>For source code example on how to retrieve this HDD Firmware Serial Number using DeviceIoControl, you can refer to following <a href="http://www.winsim.com/diskid32/diskid32.html">this article</a>. It support IDE, SATA and SCSI drive type.</p>
<p><a href="http://www.winsim.com/diskid32/diskid32.html">http://www.winsim.com/diskid32/diskid32.html</a></p>
<p>
Local download: <span id="more-73"></span><a href="http://www.ucosoft.com/wp-content/download/diskid32.zip">diskid32.zipp</a><br />
Simple output of diskid32:
</p>
<p><coolcode lang="cpp" linenum="no"><br />
Primary Controller &#8211; Master drive</p>
<p>Drive Model Number________________: ST380011A<br />
Drive Serial Number_______________: 3JV6TBXW<br />
Drive Controller Revision Number__: 3.04<br />
Controller Buffer Size on Drive___: 2097152 bytes<br />
Drive Type________________________: Fixed<br />
Drive Size________________________: 76264796672 bytes</p>
<p>Trying to read the drive IDs using the SCSI back door</p>
<p>Primary Controller &#8211; Master drive</p>
<p>Drive Model Number________________: ST380011A<br />
Drive Serial Number_______________: 3JV6TBXW<br />
Drive Controller Revision Number__: 3.04<br />
Controller Buffer Size on Drive___: 2097152 bytes<br />
Drive Type________________________: Fixed<br />
Drive Size________________________: 76264796672 bytes</p>
<p>Trying to read the drive IDs using physical access wi</p>
<p>**** STORAGE_DEVICE_DESCRIPTOR for drive 0 ****<br />
Vendor Id = (<br />
Product Id = ST380011A<br />
Product Revision = 3.04<br />
Serial Number = 3JV6TBXW</p>
<p>Hard Drive Serial Number__________: 3JV6TBXW<br />
Hard Drive Model Number___________: ST380011A<br />
Computer ID_______________________: 652190462<br />
MAC Address: 00-FF-5B-FE-6B-20<br />
MAC Address: 00-0C-76-74-DA-50<br />
</coolcode></p>

	Tags: <strong><a href="http://www.ucosoft.com/tag/api" title="API" rel="tag">API</a>, <a href="http://www.ucosoft.com/tag/how-to" title="How-to" rel="tag">How-to</a>, <a href="http://www.ucosoft.com/tag/sdk" title="sdk" rel="tag">sdk</a>, <a href="http://www.ucosoft.com/tag/serial-number" title="serial number" rel="tag">serial number</a>, <a href="http://www.ucosoft.com/tag/shareware" title="shareware" rel="tag">shareware</a></strong><br />
]]></content:encoded>
			<wfw:commentRss>http://www.ucosoft.com/how-to-get-a-fixed-code-for-serial-number2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

