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
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.
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.
the Telerik team