visual studio 2010 - How to save data when a program is closed -


i'm making application in c#(.net 4.0 & vs2010) should allow user make profile use has info 'profile name, options check-marked, location save files to' sort of stuff, system has list of select able profiles, user can make 1 active, edit,add, or remove profile. i'm curious best way store these profiles if software closed profiles saved, , upon opening available , can still used. think saving each profile .txt inefficient , not secure. i've never dealt saving data in program w/o being .txt suggestions or advise methods work best, or easiest understand help!

i typically create xml files store parameter fields require saving.

http://www.dotnetperls.com/xmlwriter

it works enough when you've not got sensitive material , need parameters without heavy parsing.


Comments