API Reference
Class
WslDistributionConfigurationInfo
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.
Returned or exposed by
Accepted by parameters
Constructors
public WslDistributionConfigurationInfo() #Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
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.