Table of Contents

PIA Sharp API Reference

This section contains detailed information about the public classes, methods and enums found in Cmpnnt.Pia.

Here's a quick rundown of the available methods exposed by Cmpnnt.Pia.Ctl, which are the core of this library. Full API documentation for them is available under Cmpnnt.Pia.Ctl.PiaCtl

General

  • Login
  • Logout
  • Connect
  • Disconnect
  • ResetSettings

Dedicated IP

  • AddDedicatedIp
  • RemoveDedicatedIp

Background

  • BackgroundEnable
  • BackgroundDisable

Setters

  • SetAllowLan
  • SetDebugLogin
  • SetProtocol
  • SetRegion
  • SetRequestPortForward

Getters

  • GetAllowLan
  • GetConnectionState
  • GetDebugLogging
  • GetPortForward
  • GetProtocol
  • GetPubIp
  • GetRegion
  • GetRegions
  • GetRequestPortForward
  • GetVpnIp

Monitoring

  • MonitorAllowLan
  • MonitorConnectionState
  • MonitorDebugLogging
  • MonitorPortForward
  • MonitorProtocol
  • MonitorPubIp
  • MonitorRegion
  • MonitorRequestPortForward
  • MonitorVpnIp