Vanara/PInvoke/WslApi
David Hall 8568b342aa Fixed versioning to 4.0.2 and updated project docs 2024-05-10 15:05:05 -06:00
..
Vanara.PInvoke.WslApi.csproj Fixed versioning to 4.0.2 and updated project docs 2024-05-10 15:05:05 -06:00
WslApi.cs Added Vanara.PInvoke.WslApi project for Windows Subsystem for Linux 2024-05-07 21:14:26 -06:00
pkgreadme.md Fixed versioning to 4.0.2 and updated project docs 2024-05-10 15:05:05 -06:00
readme.md Fixed versioning to 4.0.2 and updated project docs 2024-05-10 15:05:05 -06:00

readme.md

Vanara.PInvoke.WslApi

PInvoke API (methods, structures and constants) imported from Windows Subsystem for Linux.

  • Includes methods from wslapi.dll
  • Current NuGet release: NugetNuget

Methods - 100% API coverage (7 of 7 functions)

Native Method Header Managed Method
WslConfigureDistribution wslapi.h Vanara.PInvoke.WslApi.WslConfigureDistribution
WslGetDistributionConfiguration wslapi.h Vanara.PInvoke.WslApi.WslGetDistributionConfiguration
WslIsDistributionRegistered wslapi.h Vanara.PInvoke.WslApi.WslIsDistributionRegistered
WslLaunch wslapi.h Vanara.PInvoke.WslApi.WslLaunch
WslLaunchInteractive wslapi.h Vanara.PInvoke.WslApi.WslLaunchInteractive
WslRegisterDistribution wslapi.h Vanara.PInvoke.WslApi.WslRegisterDistribution
WslUnregisterDistribution wslapi.h Vanara.PInvoke.WslApi.WslUnregisterDistribution

Enumerations

Native Enum Header Managed Enum
WSL_DISTRIBUTION_FLAGS wslapi.h Vanara.PInvoke.WslApi.WSL_DISTRIBUTION_FLAGS