I am trying to save personalized data using ApplicationSettingsBase
. This was done by fetching personalized data using indexer object this[string propertyName]
of ApplicationSettingBase
and saving the personalized data using ApplicationSettingBase
save call.
A property annotated as [UserScopedSetting]
is used as personalized data which is saved and read.
The data is saved and fetched from user.config file saved in below location:
C:\Users\loggedInUser\AppData\Local\fixed string\Exe Name appeneded with hash\dll version\User.Config
Question:
Using ApplicationSettingsBase
, I would like to be able to change the default path where the settings are stored.
Link questions on similar lines:
When using a Settings.settings file in .NET, where is the config actually stored?