Class PositionInfoEventArgs
Class PositionInfoEventArgs. Provides information about the users current position info.
Inherited Members
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. |