|
Well, let me start by saying that this program is an advanced kinda-level program, but this part in particular isn't that complex.
I'm just trying to work out the best method to store the following information, without having the user install something like SQL Express (which for this program would be counter productive!)
This program will sort through the current running processes, checking if any processes are listed in the program. If a match is found, the commands attached are executed (starting or stopping processes). Also, a process may just be designated as part of a group, so executing the group's commands instead (say if you have a number of full-screen games installed, and you want MSN Messenger to close whenever you open one of them, you assign all of them to a group named 'Game', and make the 'Game' group when executed close MSN Messenger).
What is the best method of storing that, without requiring extra software installed? It needs to be easy to modify through code, I don't care if they can modify it by hand.
The options I've been tossing up are XML Serialization (which I believe could get messy as I'd use ArrayList kinda things), or simply binary serialization. Is there a better option?
Thanks in advance.
|