• 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

    Class OpenVpnConfiguration

    Class OpenVpnConfiguration. Describes the OpenVPN application configuration for the application.

    Inheritance
    Object
    OpenVpnConfiguration
    Namespace: VpnSDK.Public
    Assembly: VpnSDK.dll
    Syntax
    public class OpenVpnConfiguration

    Properties

    OpenVpnCertificateFileName

    Gets or sets the name of the OpenVPN certificate file.

    Declaration
    public string OpenVpnCertificateFileName { get; set; }
    Property Value
    Type Description
    String

    The name of the OpenVPN certificate file.

    OpenVpnConfigDirectory

    Gets or sets the OpenVPN configuration directory.

    Declaration
    public string OpenVpnConfigDirectory { get; set; }
    Property Value
    Type Description
    String

    The OpenVPN configuration directory.

    OpenVpnConfigFileName

    Gets or sets the name of the OpenVPN configuration file. This should end in .ovpn.

    Declaration
    public string OpenVpnConfigFileName { get; set; }
    Property Value
    Type Description
    String

    The name of the OpenVPN configuration file.

    OpenVpnDirectory

    Gets or sets the OpenVPN directory.

    Declaration
    public string OpenVpnDirectory { get; set; }
    Property Value
    Type Description
    String

    The OpenVPN directory.

    OpenVpnExecutableFileName

    Gets or sets the file name of the OpenVPN executable.

    Declaration
    public string OpenVpnExecutableFileName { get; set; }
    Property Value
    Type Description
    String

    OpenVpnLogFileName

    Gets or sets the log file name for OpenVPN.

    Declaration
    public string OpenVpnLogFileName { get; set; }
    Property Value
    Type Description
    String

    TapDeviceDescription

    Gets or sets the TAP device description. This refers to the network adapter that OpenVPN uses.

    Declaration
    public string TapDeviceDescription { get; set; }
    Property Value
    Type Description
    String

    The TAP device description.

    TapDeviceName

    Gets or sets the name of the TAP device. This is defined in the driver .inf file.

    Declaration
    public string TapDeviceName { get; set; }
    Property Value
    Type Description
    String

    The TAP device name.

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