Discussion:
[Gtk-sharp-list] capturar numero de serie HDD
Renato Salvador
2018-01-29 16:51:12 UTC
Permalink
Hi, I'm new here, I have the following difficulty. I need to capture the
serial number of the HDD, but I could not check with it in Linux. I am
developing an application for linux using the monodevelop and
programming in C #. Can someone help me with this task. thank you
--
Atenciosamente,
Baltasar García Perez-Schofield
2018-01-29 19:03:53 UTC
Permalink
Take a look at this article:
http://www.codescratcher.com/windows-forms/get-computer-hardware-information-using-c/

It seems the assembly System.Management is able to provide this
functionality, and that Mono offers it. I'm unable to test it right now,
though.

-- Baltasar
Post by Renato Salvador
Hi, I'm new here, I have the following difficulty. I need to capture the
serial number of the HDD, but I could not check with it in Linux. I am
developing an application for linux using the monodevelop and programming
in C #. Can someone help me with this task. thank you
--
Atenciosamente,
_______________________________________________
http://lists.dot.net/mailman/listinfo/gtk-sharp-list
Brandon Perry
2018-01-29 19:09:11 UTC
Permalink
http://www.codescratcher.com/windows-forms/get-computer-hardware-information-using-c/ <http://www.codescratcher.com/windows-forms/get-computer-hardware-information-using-c/>
It seems the assembly System.Management is able to provide this functionality, and that Mono offers it. I'm unable to test it right now, though.
Unless I am mistaken, all of these examples effectively use WMI queries which is Windows only.
-- Baltasar
Hi, I'm new here, I have the following difficulty. I need to capture the serial number of the HDD, but I could not check with it in Linux. I am developing an application for linux using the monodevelop and programming in C #. Can someone help me with this task. thank you
--
Atenciosamente,
_______________________________________________
http://lists.dot.net/mailman/listinfo/gtk-sharp-list <http://lists.dot.net/mailman/listinfo/gtk-sharp-list>
_______________________________________________
http://lists.dot.net/mailman/listinfo/gtk-sharp-list
Baltasar García Perez-Schofield
2018-01-29 22:27:34 UTC
Permalink
Hi, Brandon,
Post by Baltasar García Perez-Schofield
http://www.codescratcher.com/windows-forms/get-computer-hardware-information-using-c/
It seems the assembly System.Management is able to provide this
functionality, and that Mono offers it. I'm unable to test it right now,
though.
Unless I am mistaken, all of these examples effectively use WMI queries
which is Windows only.
As I told you, Mono offers System.Management, so you just had to follow the
instructions in MonoDevelop. Unfortunately, System.Management in Mono is
just a stub, so don't bother.

Open hardware monitor is open source and multiplatform, it is worth to take
a look into the project:
http://openhardwaremonitor.org/

-- Baltasar
Renato Salvador
2018-01-30 11:48:19 UTC
Permalink
This article is great. Helped a lot in a project for windows. but to
capture HDD information in linux does not work.
That is why my difficulty came.
I found in some blogs some tips but all for MAC computers.
In my case I use the Mint 18.2 operating system. I will continue looking
for a solution finding notice here.

---

Atenciosamente,

Renato Salvador
Post by Brandon Perry
http://www.codescratcher.com/windows-forms/get-computer-hardware-information-using-c/ [1]
It seems the assembly System.Management is able to provide this functionality, and that Mono offers it. I'm unable to test it right now, though.
Unless I am mistaken, all of these examples effectively use WMI queries which is Windows only.
-- Baltasar
Hi, I'm new here, I have the following difficulty. I need to capture the serial number of the HDD, but I could not check with it in Linux. I am developing an application for linux using the monodevelop and programming in C #. Can someone help me with this task. thank you
--
Atenciosamente,
_______________________________________________
http://lists.dot.net/mailman/listinfo/gtk-sharp-list [2] _______________________________________________
http://lists.dot.net/mailman/listinfo/gtk-sharp-list [2]
Links:
------
[1]
http://www.codescratcher.com/windows-forms/get-computer-hardware-information-using-c/
[2] http://lists.dot.net/mailman/listinfo/gtk-sharp-list

Loading...