TestimoX

API Reference

Class

WslDistributionConfigurationInfo

Namespace ComputerX.Wsl
Assembly ComputerX
Modifiers sealed

WSL distribution configuration returned by the native public WSL API.

Inheritance

  • Object
  • WslDistributionConfigurationInfo

Usage

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

Accepted by parameters

Constructors

public WslDistributionConfigurationInfo() #

Properties

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

Distribution name.

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

Distribution WSL version reported by wslapi.dll.

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

Default Linux user identifier reported by wslapi.dll.

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

Distribution flags reported by wslapi.dll.

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

True when Windows interoperability is enabled.

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

True when Windows PATH entries are appended inside the distribution.

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

True when Windows drives are mounted inside the distribution.

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

Default environment variables returned by the WSL API.

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

Optional warning when the configuration could not be read.

public String DataSource { get; set; } #
Display(Order = 9)

Data source used to populate the object.