There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Change Accounts.dat file to XML
Now that I have a better grasp of XML, I think the Backup issue can be solved by moving away from a blob of binary data, and switching instead to a LINQ XML schema in code and file so that storing the accounts can still be protected (encrypt then Base64
encode), but be less likely to be destroyed by 1 or 2 bad bytes in a file. The affected account might be destroyed, but the WHOLE FILE wouldn't be destroyed. This is safer, more flexible, more fixable (in many instances, not all), and allows the user to side-backup/side-load
accounts in the file as he/she sees fit. Since the data will be XML, the contents of the file can be backed up using anything that can store large blocks of text, which is easier to deal with as a developer AND as a user, and can even be better compressed