get hdd serial number programatically

windows
jgrohmannAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

younghvCommented:
Check out this post from 'rindi' (one of the brighter folks around here):
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Q_22457354.html?cid=295

Vic
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gregoryyoungCommented:
http://www.codeproject.com/csharp/hard_disk_serialno.asp includes code using WMI to get the HD serial number.

Cheers,

Greg
0
SystemExpertCommented:
Hi,

plz find the solution in .net solution for DiskID32

http://www.winsim.com/diskid32/diskid32.html

and it very good solution

Thanks & Regards
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

younghvCommented:
@ greg - nice last name :)

Vic
0
gregoryyoungCommented:
Bob i disagree follow links on those answers...

One recommends utilities one can download which can do it. The other is for an open source app written in unmanaged C++
0
younghvCommented:
By all means, give any points I would have received to gregoryyoung.
Not sure how my 'EE Filter' popped a c# question at me anyway.

Have a nice day.
0
gregoryyoungCommented:
thought it was odd to see you here younghv ... maybe it was cross postd.
0
younghvCommented:
You're not thinking the magical 'Wizard' and/or 'Filter' made a mistake are you?

;)

Vic
0
gregoryyoungCommented:
no that would be impossible.

0
gregoryyoungCommented:
well maybe improbable..

perhaps they should build another machine to find out
0
younghvCommented:
AHA!
Somehow, this was also listed in Windows OS:
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/Q__22457735.html

For a few minutes, I thought I had actually made a mistake this year.

You were right "cross-posted", but strangely.

Vic
0
younghvCommented:
Alright!
Only 49,328 more points and I'll be a Master in C#.

What does C# stand for, anyway?

Vic
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.