• Guides & Articles
  • API Documentation

    Show / Hide Table of Contents
    • VpnSDK.Public
      • OpenVpnConfiguration
      • OpenVpnConnectionConfigurationBuilder
      • PositionInfoEventArgs
      • RasConfiguration
      • RasConnectionConfigurationBuilder
      • SDKBuilder
    • VpnSDK.Public.Enums
      • AuthenticationStatus
      • ConnectionStatus
      • NetworkConnectionType
      • NetworkProtocolType
      • OpenVpnCipherType
      • PositionInfoStatus
      • RefreshLocationListStatus
    • VpnSDK.Public.Exceptions
      • VpnSDKAPIException
      • VpnSDKAuthenticationException
      • VpnSDKBaseException
      • VpnSDKConnectionAlreadyEstablishedException
      • VpnSDKConnectionException
      • VpnSDKConnectionTerminatedException
      • VpnSDKCoreException
      • VpnSDKEmptyAvailableVpnProtocolsException
      • VpnSDKFetchLocationsException
      • VpnSDKInvalidConfigurationException
      • VpnSDKNotAuthorizedException
      • VpnSDKNullLocationException
      • VpnSDKOAuthException
      • VpnSDKUnsupportedProtocolException
      • VpnSDKVPNAuthenticationException
    • VpnSDK.Public.Extensions
      • ExceptionExtensions
      • LoadLevel
      • RegionLoadChecker
    • VpnSDK.Public.Helpers
      • VpnProtocolDiagnostics
    • VpnSDK.Public.Interfaces
      • IBestAvailable
      • IConnectionConfiguration
      • ILocation
      • IOpenVpnConnectionConfiguration
      • IRasConnectionConfiguration
      • IRegion
      • ISDK
      • IServer
      • IUser
    • VpnSDK.Public.Messages
      • RefreshLocationListMessage

    Namespace VpnSDK.Public.Exceptions

    Classes

    VpnSDKAPIException

    Exception VpnSDKOAuthException. Fired when an authentication request fails due to API issues.

    VpnSDKAuthenticationException

    Exception VpnSDKAuthenticationException. Fired when an authentication request fails due to invalid credentials or Bad Request.

    VpnSDKBaseException

    Class VpnSDKBaseException. Used as a base class for all SDK exceptions.

    VpnSDKConnectionAlreadyEstablishedException

    Exception VpnSDKConnectionAlreadyEstablishedException. Fires when a VPN connection request is called when a connection is already established.

    VpnSDKConnectionException

    Exception VpnSDKConnectionException. Fires when a VPN connection has failed.

    VpnSDKConnectionTerminatedException

    Exception VpnSDKConnectionTerminatedException. Fires when a VPN connection is terminated by an external source.

    VpnSDKCoreException

    Exception VpnSDKCoreException. Fires when the SDK core construction has failed.

    VpnSDKEmptyAvailableVpnProtocolsException

    Exception VpnSDKEmptyAvailableVpnProtocolsException. Fires when SDK construction has detected that no VPN protocols are available on the machine due to OS configuration issues or misconfiguration of the SDK.

    VpnSDKFetchLocationsException

    Exception VpnSDKFetchLocationsException. Fires when location fetching has failed.

    VpnSDKInvalidConfigurationException

    Exception VpnSDKInvalidConfigurationException. Fires when SDK configuration is invalid due to missing parameters or an unconfigured VPN protocol is requested.

    VpnSDKNotAuthorizedException

    Exception VpnSDKNotAuthorizedException. Fired when API requests are fired before authenticating a user.

    VpnSDKNullLocationException

    Exception VpnSDKNullLocationException. Fires when a null location is provided to an SDK method.

    VpnSDKOAuthException

    Exception VpnSDKOAuthException. Fired when SDK is unable to refresh the access token.

    VpnSDKUnsupportedProtocolException

    Exception VpnSDKUnsupportedProtocolException. Fired when a connection request is using an invalid or unconfigured protocol.

    VpnSDKVPNAuthenticationException

    Exception VpnSDKVPNAuthenticationException. Fired when an authentication request fails due to API issues.

    Back to top Pre-release documentation. These do not represent the final product and are subject to change.