API Reference
Class
WindowsOptionalFeatures
High-level entry point for querying Windows optional features. Mirrors the simple Get()/GetAsync() pattern used across ComputerX.
Inheritance
- Object
- WindowsOptionalFeatures
Methods
public static List<WindowsOptionalFeatureInfo> Get(String computer = null) #Returns:
List<WindowsOptionalFeatureInfo>Gets the list of Windows optional features for the specified computer.
Parameters
- computer System.String = null
- Optional computer name. Defaults to local machine when null.
public static Task<List<WindowsOptionalFeatureInfo>> GetAsync(String computer = null, Nullable<TimeSpan> timeout = null, CancellationToken ct = null) #Returns:
Task<List<WindowsOptionalFeatureInfo>>Asynchronously gets the list of Windows optional features for the specified computer.
Parameters
- computer System.String = null
- Optional computer name. Defaults to local machine when null.
- timeout System.Nullable{System.TimeSpan} = null
- Optional timeout. Defaults to WmiDefaultTimeout.
- ct System.Threading.CancellationToken = null
- Cancellation token.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object