VpnFeaturesRegistry
interface VpnFeaturesRegistry
Use this class to register features that required VPN access.
Registering a feature will cause the VPN to be enabled. Unregistering a feature will cause the VPN to be disabled IF no other feature is registered.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Refreshing the feature will cause the VPN to be stopped/restarted if it is enabled and the feature is already registered.
Link copied to clipboard
Call this method to register a feature that requires VPN access. If the VPN is not enabled, it will be enabled.
Link copied to clipboard
Call this method to unregister a feature that requires VPN access. If the VPN will be disabled if and only if this is the last registered feature.