Forum Discussion
Ryan_Moran
12 years agoValued Contributor
"Heck, just take Ryan Moran's code and, instead of assigning static values, read the values in from keys in an XML file organized by machine name."
As Robert says you can use this approach to help organize data by machine name.
The key point being that you need a unique identifier to each machine to identify which value belongs to which machine.
The second part is that you want to update a persisting variable belonging to that machine and you essentially want to know which of the usernames are currently being used or were previously used by other machines.
I would agree with Robert's approach to create an XML file with the computer name, status, last username used, etc.
As Robert says you can use this approach to help organize data by machine name.
The key point being that you need a unique identifier to each machine to identify which value belongs to which machine.
The second part is that you want to update a persisting variable belonging to that machine and you essentially want to know which of the usernames are currently being used or were previously used by other machines.
I would agree with Robert's approach to create an XML file with the computer name, status, last username used, etc.