API Reference
Class
VsCodeExtensions
Queries installed VS Code extension inventory from host user profiles.
Inheritance
- Object
- VsCodeExtensions
Methods
public static VsCodeExtensionPostureInfo Get(String computerName = null) #Returns:
VsCodeExtensionPostureInfoGets VS Code extension inventory for a local or remote computer.
Parameters
- computerName System.String = null
- Target computer; null/empty uses local machine.
Returns
VS Code extension posture snapshot.
public static Task<VsCodeExtensionPostureInfo> GetAsync(String computerName = null, CancellationToken cancellationToken = null) #Returns:
Task<VsCodeExtensionPostureInfo>Asynchronously gets VS Code extension inventory for a local or remote computer.
Parameters
- computerName System.String = null
- Target computer; null/empty uses local machine.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Returns
VS Code extension posture snapshot.
public static IAsyncEnumerable<VsCodeExtensionPostureInfo> GetManyAsync(IEnumerable<String> computerNames, Int32 degreeOfParallelism = 4, CancellationToken cancellationToken = null) #Returns:
IAsyncEnumerable<VsCodeExtensionPostureInfo>Gets VS Code extension inventory for multiple computers with bounded concurrency.
Parameters
- computerNames System.Collections.Generic.IEnumerable{System.String}
- Target computers.
- degreeOfParallelism System.Int32 = 4
- Maximum concurrency.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object