aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.SystemInfo/Win32_PCMCIController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.SystemInfo/Win32_PCMCIController.cs')
-rw-r--r--Software/Visual_Studio/Tango.SystemInfo/Win32_PCMCIController.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.SystemInfo/Win32_PCMCIController.cs b/Software/Visual_Studio/Tango.SystemInfo/Win32_PCMCIController.cs
new file mode 100644
index 000000000..772af0a28
--- /dev/null
+++ b/Software/Visual_Studio/Tango.SystemInfo/Win32_PCMCIController.cs
@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Tango.SystemInfo
+{
+ class Win32_PCMCIController : IWMI
+ {
+ Connection WMIConnection;
+
+ public Win32_PCMCIController(Connection WMIConnection)
+ {
+ this.WMIConnection = WMIConnection;
+ }
+ public IList<SystemObject> GetHardwareInfoList()
+ {
+ string className = System.Text.RegularExpressions.Regex.Match(
+ this.GetType().ToString(), "Win32_.*").Value;
+
+ return WMIReader.GetPropertyValues(WMIConnection,
+ "SELECT * FROM " + className,
+ className);
+ }
+ }
+}