Getting Hardware Serial

4 posts, 0 answers
  1. Tooraj
    Tooraj avatar
    74 posts
    Member since:
    Aug 2010

    Posted 17 Oct 2010 Link to this post

    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.

  2. Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 17 Oct 2010 Link to this post

    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

  3. UI for WinForms is Visual Studio 2017 Ready
  4. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 17 Oct 2010 Link to this post

    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.
  5. Nikolay
    Admin
    Nikolay avatar
    1804 posts

    Posted 21 Oct 2010 Link to this post

    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
Back to Top