Last-Modified: Tue, 04 Aug 2026 10:35:25 GMT Expires: Fri, 01 Aug 2036 10:35:25 GMT DeploymentSlotAddressAttribute.cs « Tango.Web « Visual_Studio « Software - Tango - Twine softwares
aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Web/DeploymentSlotAddressAttribute.cs
blob: c58c7a8b094463bfe19da156d83faa10c33d9c75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;
using System.Collections.Generic;
using System.Text;

namespace Tango.SystemInfo
{
    class Win32_FloppyController : IWMI 
    {
         Connection WMIConnection;

        public Win32_FloppyController(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);
        }
    }
}