Interface IConnectionInfo
Interface IConnectionInfo. Describes the current connection info.
Namespace: VpnSDK.Interfaces
Assembly: cs.temp.dll.dll
Syntax
public interface IConnectionInfo
Properties
Configuration
Gets connection's IConnectionConfiguration.
Declaration
IConnectionConfiguration Configuration { get; }
Property Value
Type | Description |
---|---|
IConnectionConfiguration |
IsAutomaticProtocolUsed
Gets a value indicating whether SDK selects an automatic VPN protocol for a new VPN connection.
Declaration
bool IsAutomaticProtocolUsed { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDnsProtected
Gets a value indicating whether DNS leak protection is enabled.
Declaration
bool IsDnsProtected { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsIPv6Protected
Gets a value indicating whether is IPv6 leak protection is enabled.
Declaration
bool IsIPv6Protected { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsKillKwitchOn
Gets a value indicating whether KillSwitch is enabled.
Declaration
bool IsKillKwitchOn { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsLanTrafficAllowed
Gets a value indicating whether local resources access is allowed.
Declaration
bool IsLanTrafficAllowed { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Location
Gets server's ILocation info.
Declaration
ILocation Location { get; }
Property Value
Type | Description |
---|---|
ILocation |
Protocol
Gets connection's protocol NetworkConnectionType.
Declaration
NetworkConnectionType Protocol { get; }
Property Value
Type | Description |
---|---|
NetworkConnectionType |
ServerIp
Gets server's IP address.
Declaration
IPAddress ServerIp { get; }
Property Value
Type | Description |
---|---|
IPAddress |