Table of Contents

Class CurrentServerLocationInfo

Namespace
VpnHood.AppLib.Api.VpnProfiles
Assembly
VpnHood.AppLib.Api.dll

Represents a server location as the state or a session reports it; the UI names the country from its code, in the language it shows.

public class CurrentServerLocationInfo
Inheritance
CurrentServerLocationInfo
Inherited Members

Properties

CountryCode

Gets the country's two-letter code, or * for the automatic location.

public required string CountryCode { get; init; }

Property Value

string

CountryName

Gets the country's English name, for a code the UI cannot name.

public required string CountryName { get; init; }

Property Value

string

HasMultipleRegions

Gets a value indicating whether the VPN profile's locations have more than one region in the country.

public bool HasMultipleRegions { get; init; }

Property Value

bool

HasRegion

Gets a value indicating whether the location names a region.

public required bool HasRegion { get; init; }

Property Value

bool

IsAuto

Gets a value indicating whether this is the automatic location, /.

public required bool IsAuto { get; init; }

Property Value

bool

RegionName

Gets the region's name, or * for any region.

public required string RegionName { get; init; }

Property Value

string

ServerLocation

Gets the location without its tags, as US/California.

public required string ServerLocation { get; init; }

Property Value

string