TestimoX

API Reference

Class

WslDistributionInventoryInfo

Namespace ComputerX.Wsl
Assembly ComputerX
Modifiers sealed

Consolidated WSL distribution inventory with native registration metadata, optional native API configuration, and optional live CLI state.

Inheritance

  • Object
  • WslDistributionInventoryInfo

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Constructors

public WslDistributionInventoryInfo() #

Properties

public String Name { get; set; } #
Display(Order = 0)

Distribution name.

public Boolean Registered { get; set; } #
Display(Order = 1)

True when the distribution is registered in the current user's WSL registration store.

public String DistributionId { get; set; } #
Display(Order = 2)

Registration key identifier, when available.

public Nullable<Int32> RegisteredVersion { get; set; } #
Display(Order = 3)

Registered WSL version, when present.

public String LiveVersion { get; set; } #
Display(Order = 4)

Live WSL version reported by wsl.exe --list --verbose, when requested.

public String LiveState { get; set; } #
Display(Order = 5)

Live distribution state reported by wsl.exe --list --verbose, when requested.

public String BasePath { get; set; } #
Display(Order = 6)

Distribution base path from native registration metadata.

public Nullable<Int32> Flags { get; set; } #
Display(Order = 7)

Registration flags from native metadata, when present.

public Nullable<Int32> DefaultUid { get; set; } #
Display(Order = 8)

Default Linux user identifier from native metadata, when present.

public Nullable<Boolean> ApiRegistered { get; set; } #
Display(Order = 9)

True when the public WSL API reports this distribution as registered.

public Boolean IsDefault { get; set; } #
Display(Order = 10)

True when this distribution is the current user's default WSL distribution.

public Nullable<UInt32> ConfigurationVersion { get; set; } #
Display(Order = 11)

Distribution WSL version reported by wslapi.dll, when requested.

public Nullable<UInt32> ConfigurationDefaultUid { get; set; } #
Display(Order = 12)

Default Linux user identifier reported by wslapi.dll, when requested.

public Nullable<WslDistributionFlags> ConfigurationFlags { get; set; } #
Display(Order = 13)

Distribution flags reported by wslapi.dll, when requested.

public Nullable<Boolean> EnableInterop { get; set; } #
Display(Order = 14)

True when Windows interoperability is enabled, when requested from wslapi.dll.

public Nullable<Boolean> AppendNtPath { get; set; } #
Display(Order = 15)

True when Windows PATH entries are appended inside the distribution, when requested from wslapi.dll.

public Nullable<Boolean> EnableDriveMounting { get; set; } #
Display(Order = 16)

True when Windows drives are mounted inside the distribution, when requested from wslapi.dll.

public IReadOnlyList<String> DefaultEnvironmentVariables { get; set; } #
Display(Order = 17)

Default environment variables returned by wslapi.dll, when requested.

public String DataSources { get; set; } #
Display(Order = 18)

Data source names used to populate this row.

public String Warning { get; set; } #
Display(Order = 19)

Optional warning from native registration, native configuration, or live-state collection.