Class MsiDeviceProvider
Represents the abstract base implementation for a IRGBDeviceProvider.
Inherited Members
Namespace: RGB.NET.Devices.Msi
Assembly: RGB.NET.Devices.Msi.dll
Syntax
public class MsiDeviceProvider : AbstractRGBDeviceProvider, IRGBDeviceProvider, IDisposable
Constructors
| Edit this page View SourceMsiDeviceProvider()
Initializes a new instance of the MsiDeviceProvider class.
Declaration
public MsiDeviceProvider()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown if this constructor is called even if there is already an instance of this class. |
Properties
| Edit this page View SourceInstance
Gets the singleton MsiDeviceProvider instance.
Declaration
public static MsiDeviceProvider Instance { get; }
Property Value
Type | Description |
---|---|
MsiDeviceProvider |
PossibleX64NativePaths
Gets a modifiable list of paths used to find the native SDK-dlls for x64 applications. The first match will be used.
Declaration
public static List<string> PossibleX64NativePaths { get; }
Property Value
Type | Description |
---|---|
List<string> |
PossibleX86NativePaths
Gets a modifiable list of paths used to find the native SDK-dlls for x86 applications. The first match will be used.
Declaration
public static List<string> PossibleX86NativePaths { get; }
Property Value
Type | Description |
---|---|
List<string> |
Methods
| Edit this page View SourceDispose(bool)
Disposes the object and frees all resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
|
Overrides
| Edit this page View SourceInitializeSDK()
Initializes the underlying SDK.
Declaration
protected override void InitializeSDK()
Overrides
| Edit this page View SourceLoadDevices()
Loads all devices this device provider is capable of loading.
Declaration
protected override IEnumerable<IRGBDevice> LoadDevices()
Returns
Type | Description |
---|---|
IEnumerable<IRGBDevice> | A collection of loaded devices. |
Overrides
Remarks
Filtering happens in GetLoadedDevices(RGBDeviceType).