• Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • VpnSDK
      • AccountMetadataException
      • APIException
      • ApiTimeoutException
      • AuthenticationException
      • BaseSDKException
      • ConnectionAlreadyEstablishedException
      • ConnectionConfigurationBuilderBase
      • ConnectionException
      • ConnectionTerminatedException
      • CoreException
      • DataTransferEventArgs
      • DnsConfigurationException
      • DoubleHopException
      • DoubleHopNotAvailableException
      • EmptyAvailableVpnProtocolsException
      • EndpointsUnreachableException
      • FetchLocationsException
      • HTTPException
      • InvalidAccountException
      • InvalidConfigurationException
      • InvalidDoubleHopConfigurationException
      • InvalidServerException
      • NotAuthorizedException
      • NotElevatedException
      • NullLocationException
      • OAuthException
      • OpenVpnConnectionConfigurationBuilder
      • RasConnectionConfigurationBuilder
      • ReconnectOnPowerEventException
      • SDKBuilder<T>
      • SDKChangeEventHandler<T>
      • SDKEventHandler
      • SDKEventHandler<T>
      • SDKOperationEventHandler
      • SDKOperationEventHandler<T>
      • ServerListException
      • TapAdapterException
      • UnknownErrorException
      • UnsupportedProtocolException
      • VPNAuthenticationException
      • VpnException
      • VpnHostServiceException
      • VpnHostServiceFileNotFoundException
      • WFPException
      • WireGuardAPIException
      • WireGuardConnectionConfigurationBuilder
    • VpnSDK.Common.Dns
      • DnsResolutionResult
      • IDnsRequestResolver
    • VpnSDK.Common.Enums
      • SplitTunnelMode
    • VpnSDK.Common.Settings
      • SplitTunnelApp
      • SplitTunnelDomain
    • VpnSDK.DTO
      • ApiHttpError
      • ApiProxyError
      • ConnectionError
      • ISDKError
      • NetworkGeolocation
      • OpenVpnConfiguration
      • RasConfiguration
      • WireguardConfiguration
    • VpnSDK.Enums
      • AccountStatus
      • AuthenticationStatus
      • ConnectionStatus
      • DnsFilteringMode
      • DriverInstallResult
      • DriverUninstallResult
      • ErrorType
      • LoadLevel
      • NetworkConnectionType
      • NetworkProtocolType
      • OpenVpnCipherType
      • OpenVpnLogLevel
      • OperationStatus
      • RefreshLocationListStatus
    • VpnSDK.Extensions
      • ExceptionExtensions
      • LocationExtensions
      • RegionLoadChecker
    • VpnSDK.Helpers
      • BatchPingUtility
      • VersionHelper
      • VpnProtocolDiagnostics
    • VpnSDK.Interfaces
      • IBestAvailable
      • IConnectionConfiguration
      • IConnectionInfo
      • IDoubleHopConfiguration
      • ILocation
      • IOpenVpnConnectionConfiguration
      • IRasConnectionConfiguration
      • IRegion
      • ISDK
      • IUser
      • IWireGuardConnectionConfiguration

    Class NetworkGeolocation

    Class NetworkGeolocation. Represents a network geolocation determined from a GeoIP service.

    Inheritance
    System.Object
    NetworkGeolocation
    Namespace: VpnSDK.DTO
    Assembly: cs.temp.dll.dll
    Syntax
    public class NetworkGeolocation

    Properties

    City

    Gets the name of the current city.

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

    The city.

    Country

    Gets the name of the current country.

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

    The country.

    CountryCode

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

    Declaration
    public string CountryCode { get; }
    Property Value
    Type Description
    System.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
    System.Decimal

    The latitude.

    Longitude

    Gets the longitude.

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

    The longitude.

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Operators

    Implicit(GeoIP to NetworkGeolocation)

    Performs an implicit conversion to NetworkGeolocation.

    Declaration
    public static implicit operator NetworkGeolocation(GeoIP geoIp)
    Parameters
    Type Name Description
    GeoIP geoIp

    The Zorg GeoIP.

    Returns
    Type Description
    NetworkGeolocation

    The result of the conversion.

    In This Article
    Back to top VpnSDK v2 Documentation - © 2023 WLVPN