This is a migrated thread and some comments may be shown as answers.

Getting Hardware Serial

5 Answers 45 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tooraj
Top achievements
Rank 1
Tooraj asked on 17 Oct 2010, 12:28 PM

Hi,

If we try to get serial number of harware like BIOS, Motherboard or Monitor using WMI Service, and this service is Disabled by the Admin of the computer, what will happen?

Can we start it programatically? I think no because the program may be run by a limited user, not an administrator.

I don't want to use WMI Services.
So what we must do?

please help me, thanks.

5 Answers, 1 is accepted

Sort by
0
Emanuel Varga
Top achievements
Rank 1
answered on 17 Oct 2010, 01:15 PM
Hello Tooraj,

I would suggest to continue using the WMI service to get those information and either:
- make it a requirement in your project,
- or create a new service on instalation for which you require administrative privileges and start / stop the management service from there, or just use that service as for querying the WMI.

Or you can try to find some c++ projects, or assembly projects out there that will do this.

Me, for one, I've been using System.Management accomplish this, please take a look at this code projects project, it might help.

Best Regards,
Emanuel Varga

0
Richard Slade
Top achievements
Rank 2
answered on 17 Oct 2010, 04:32 PM
Hi,

there is a C++ project here on the Code Project about getting the serial without WMI.
Hope that helps
richard

EDIT: Though this just seems to cover the HDD.
0
Nikolay
Telerik team
answered on 21 Oct 2010, 07:42 AM
Hi guys,

Richard and Emanuel, thank you both for your assistance.

Tooraj, I am hope that you find the answers of Emanuel and Richard helpful. Please note, however, that this forum section concerns RadControls for WinForms. If you have questions which are not related to the Telerik suite, I would kindly ask you to address them in the appropriate forums.

Thank you for your understanding.

Kind regards,
Nikolay
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Lina
Top achievements
Rank 1
answered on 11 Apr 2019, 06:04 AM
I hope you found a solution. 
0
Lina
Top achievements
Rank 1
answered on 11 Apr 2019, 06:04 AM
I hope you found a  solution 
Tags
General Discussions
Asked by
Tooraj
Top achievements
Rank 1
Answers by
Emanuel Varga
Top achievements
Rank 1
Richard Slade
Top achievements
Rank 2
Nikolay
Telerik team
Lina
Top achievements
Rank 1
Share this question
or