API Reference
Class
WindowsOptionalFeatureInfo
Represents a Windows optional feature with its installation state. Values are sourced from WMI class Win32_OptionalFeature.
Inheritance
- Object
- WindowsOptionalFeatureInfo
Constructors
public WindowsOptionalFeatureInfo() #Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String Name { get; set; } #Gets or sets the feature name (e.g., Microsoft-Hyper-V-All).
public String DisplayName { get; set; } #Gets or sets the display name/caption of the feature, when available.
public WindowsOptionalFeatureState State { get; set; } #Gets or sets the installation state of the feature.