TestimoX

API Reference

Enum

WindowsOptionalFeatureState

Namespace ComputerX.Features
Assembly ComputerX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Indicates the installation state of a Windows optional feature as reported by WMI (Win32_OptionalFeature.InstallState).

Inheritance

  • Enum
  • WindowsOptionalFeatureState

Values

public const WindowsOptionalFeatureState Unknown #

The state of the feature could not be determined.

Value: 0
public const WindowsOptionalFeatureState Enabled #

The feature is enabled/installed.

Value: 1
public const WindowsOptionalFeatureState Disabled #

The feature is disabled but present (not removed from the image).

Value: 2
public const WindowsOptionalFeatureState Absent #

The feature is absent/removed from the image.

Value: 3