Cmpnnt.Pia.Ctl
is a .NET Native AOT wrapper around the piactl
command line tool for the
Private Internet Access VPN. It's available on Nuget.
The Nuget packages comes in "plain" and dependency-injected versions. The plain version is a meta-package contains binaries for Windows x64, Linux x64, MacOS x64, and MacOS arm64.
dotnet add package cmpnnt.pia.ctl
To include the dependency injected version in your project, run the following command. This version references the meta-package of the plain version, so you do not need to install it explicitly.
dotnet add package cmpnnt.pia.dependencyinjection
See the API reference for more detailed documentation.