473,804 Members | 3,091 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Serial ID of Hard Disc

How can I get the serial ID of the Hard disc , which is displayed during
boot up - preferrably in C ;
whithout having to communicate with the hard disc by myself with the IO
registers ?
Nov 14 '05 #1
5 2644
Guenther Sohler wrote:

How can I get the serial ID of the Hard disc , which is displayed
during boot up - preferrably in C ; whithout having to communicate
with the hard disc by myself with the IO registers ?


This has nothing to do with the C language, and much to do with the
system you are running. It does sound suspiciously like Windblows,
so look for a newsgroup with windows in its name.

OT hint: Using 4dos, those values show up on every dir command. The
interrupt list might also give you some clues.

--
"If you want to post a followup via groups.google.c om, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
Nov 14 '05 #2
On Mon, 16 May 2005 08:20:39 +0000, CBFalconer wrote:

Actually I am working with unix/linux
which linux newsgroup is advisable for me ?

Nov 14 '05 #3
Guenther Sohler wrote:
How can I get the serial ID of the Hard disc , which is displayed during
boot up - preferrably in C ;
whithout having to communicate with the hard disc by myself with the IO
registers ?


There is no standard mechanism for doing this. Ask on a group dedicated
for your platform, but only after checking the FAQ and previous postings
to the group.
--
Flash Gordon
Living in interesting times.
Although my email address says spam, it is real and I read it.
Nov 14 '05 #4
In general, you cannot do that.

Guenther Sohler wrote:
How can I get the serial ID of the Hard disc , which is displayed during
boot up - preferrably in C ;
whithout having to communicate with the hard disc by myself with the IO
registers ?


--
Remove '.nospam' from e-mail address to reply by e-mail
Nov 14 '05 #5
Guenther Sohler <gu************ *@newlogic.com> writes:
On Mon, 16 May 2005 08:20:39 +0000, CBFalconer wrote:

Actually I am working with unix/linux
which linux newsgroup is advisable for me ?


comp.os.linux.d evelopment.*

You might find the source for smartmontools informative.
--
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
Debian GNU/Linux http://www.debian.org/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
Nov 14 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
43079
by: Gavin | last post by:
Hi, I'm a newbie to programming of any kind. I have posted this to other groups in a hope to get a response from anyone. Can any one tell me how to make my VB program read the Bios serial number (or would HDD be better, or both?) and put that info into VB prog so the program won't work on another computer. My program uses an MSAccess table. Much appreciated if you can help! Thanks
79
14127
by: Klaus Bonadt | last post by:
In order to protect software from being copied without licence, I would like to use something like a key, which fits only to the current system. The serial number of the CPU or the current operating system would be appropriate. However, I do not know how to retrieve the information. Could you help? Klaus
14
28201
by: Lauren Wilson | last post by:
Discovered this interesting comment on MSDN: "To programmatically obtain the hard disk's serial number that the manufacturer assigns, use the Windows Management Instrumentation (WMI) Win32_PhysicalMedia (a class) property SerialNumber." I'm sorry to admit it bit I am really undereducated on how to incorporate some of the Windows SDK stuff into VBA apps. Anyone know of some sample code that will allow us to read the C drive hardware...
9
20735
by: Nebojsa4 | last post by:
Hi. First, sorry on my weak English to all. Qusetion: How to read (in VB) Manufacturer serial number of Hard disk drive? Not volume/serial number of C:, D:, etc. partitons. For reading volume/serial number of hard disk C: etc, You can use Microsoft Scripting Runtime (in VB):
6
30715
by: Paul Bromley | last post by:
Ok - I have given up on trying to find the active IP address for a given PC. For licensing purposes I need to retrive a unique identifier from the PC that the program is installed on. The Hard disk serial number would do fine, but on Googling it seems that some of the sample code will now laways work on W2K, and not without administrator rights. Hence my question - how can I consistently get a UNIQUE PC identifier using vb.net 2003 - not...
7
1734
by: Adele le Roux | last post by:
Hi All, How can I get the hard disk serial number of a remote computer's C:? The drive will NOT be mapped as a network drive. Thanks, Adele
2
3126
by: alokRx | last post by:
Hi I want that the user who has registered in my web site download the demo version of software and i have to trace the hard disc serial number of that user and the dsn name of the database with path using asp.net. So anyone help me?
0
970
by: PiErre | last post by:
Hi, I have to run a python script on a Linux machine. This script was developed on a windows workstation and it uses the win32 library to detect the cd (or dvd) serial number (in the XXXX-XXXX format). How can I change the script to do the same task on linux? I found an old post on the same task but without answer... Any chance there is now a way of implement such a low-level feature? TIA!
1
1919
by: =?Utf-8?B?RmFzdGFyc2U=?= | last post by:
This one has bounced around the office for far too long, someone has to have an answer. A back up hard disc (IDE) was removed and the main disc (C, also IDE) was formatted and XP re-installed, everything was fine but when we replaced the back-up disc (F) was not visible in MY COMUTER. It can be seen in BIOS and DEVICE MANAGER but we cannot access it, any ideas?
0
9569
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10558
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10318
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10302
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9130
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6844
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2975
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.