Cmpnnt.Pia.Ctl
0.2.0
dotnet add package Cmpnnt.Pia.Ctl --version 0.2.0
NuGet\Install-Package Cmpnnt.Pia.Ctl -Version 0.2.0
<PackageReference Include="Cmpnnt.Pia.Ctl" Version="0.2.0" />
paket add Cmpnnt.Pia.Ctl --version 0.2.0
#r "nuget: Cmpnnt.Pia.Ctl, 0.2.0"
// Install Cmpnnt.Pia.Ctl as a Cake Addin #addin nuget:?package=Cmpnnt.Pia.Ctl&version=0.2.0 // Install Cmpnnt.Pia.Ctl as a Cake Tool #tool nuget:?package=Cmpnnt.Pia.Ctl&version=0.2.0
Cmpnnt.Pia.Ctl
Cmpnnt.Pia.Ctl
is a .NET Native AOT wrapper around piactl
, the Private Internet Access CLI for Windows and Linux.
MacOS support will be added when GitHub makes free runners available.
PIA Sharp's main package, Cmpnnt.Pia.Ctl, has been tested against version 3.3.1 on Windows and Linux. It provides access to every piactl command available in those version on those systems. It might also work on other versions of piactl, provided they expose the same commands with the same parameters. However, this hasn't been tested and nothing is guaranteed.
This package can be used by simply instantiating PiaCtl
as follows:
PiaCtl pia = new PiaCtl();
PiaResults results = await pia.GetRegions();
Console.WriteLine(results);
A dependency injection package is also available.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Cmpnnt.Pia.Ctl:
Package | Downloads |
---|---|
Cmpnnt.Pia.DependencyInjection
A .NET/C# wrapper around the Private Internet Access VPN CLI |
GitHub repositories
This package is not used by any popular GitHub repositories.