.net - Deleting old user settings -


I am using the functionality of standard .NET settings, which allow users to store settings under app scope gives.

I have noticed that every time I establish a new build, it creates a new folder for settings and a new settings file.

How do I use upgrade method update? New settings with older people Although I want to delete older folders so that they do not mess up the system.

I can manually delete files and folders using the IO's capabilities. Net, but I was thinking that there is anyone in it

Many thanks,

Matt

< /p> Div class = "post-text" itemprop = "text">

A non-direct answer is to use custom SettingsProvider such as

Apadata \ Local Company Name \ Product Name

Name and other hash strings without default version

In this way, you can always ensure that you Using a user setting. The downside is that you can run into issues like collision with other apps or spoofing.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -