• 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 PositionInfoEventArgs

    Class PositionInfoEventArgs. Provides information about the users current position info.

    Inheritance
    Object
    EventArgs
    PositionInfoEventArgs
    Inherited Members
    EventArgs.Empty
    Namespace: VpnSDK.Public
    Assembly: VpnSDK.dll
    Syntax
    public class PositionInfoEventArgs : EventArgs

    Properties

    City

    Gets the name of the current city.

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

    The city.

    Country

    Gets the name of the current country.

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

    The country.

    CountryCode

    Gets the ISO Alpha-2 country code for the current Country.

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

    The ISO Alpha-2 country code.

    IPAddress

    Gets the current IP address.

    Declaration
    public IPAddress IPAddress { get; }
    Property Value
    Type Description
    IPAddress

    The current IP address.

    Latitude

    Gets the latitude.

    Declaration
    public decimal Latitude { get; }
    Property Value
    Type Description
    Decimal

    The latitude.

    Longitude

    Gets the longitude.

    Declaration
    public decimal Longitude { get; }
    Property Value
    Type Description
    Decimal

    The longitude.

    Status

    Gets the status of whether the position is updating or updated.

    Declaration
    public PositionInfoStatus Status { get; }
    Property Value
    Type Description
    PositionInfoStatus

    The status of the PositionInfo updating operation.

    See Also

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