Table of Contents

Class AppSettingsService

Namespace
VpnHood.AppLib.App.Settings
Assembly
VpnHood.AppLib.App.dll

Provides the app's settings, read from the storage at the app's start (SettingsService): a file that cannot be read is logged and replaced by the defaults.

public class AppSettingsService
Inheritance
AppSettingsService
Inherited Members

Methods

Save()

Saves the settings: it sets off applying them to the running app, some of them only at the next connect, then writes them with the time of the save (ConfigTime).

public void Save()

Exceptions

UnauthorizedAccessException

The process may not write the file.

IOException

The file could not be written, as where the device keeps too little room for it.