I want to save / restore the settings of my Windows Mobile application at runtime. The amount of data is negligible, using a database is redundant.
What would be the best practice for such a task? I thought of something similar, for example, in the section "Settings: ApplicationSettingsBase" in the .NET full framework, but it is not supported in the compact version.
This guy wrote an AppSettings implementation for the Compact Framework: http://www.codeproject.com/KB/mobile/SaveSettings.aspx
If the structure of your settings class is not too fancy, you can use XmlSerializer.
The main disadvantage of XmlSerializer is that it cannot handle property types that are abstract, interfaces, or generic.
Source: https://habr.com/ru/post/1286522/More articles:How to set a timeout for a program? - command-lineCan a class be attached to itself? - c ++Display dialog box from linux script - linuxBuild: Y86 Stack and Call, pushl / popl and ret instructions - assemblyOpen Source C ++ Object Oriented Database - oopHow to connect a web application to Hunchentoot - common-lispShould the model itself perform some calculations? - asp.net-mvcDjango Admin - User Access Restriction - djangoMySql on WinXP and Mac OS X - javaUnable to read characters error - iphoneAll Articles