Information générale
Titre:
How to find out local settings folder of current user?
Hello everyone,
I am writing an application with C#.Net and I plan on using an XML configuration file to read and write to. I would like to keep a separate file for each user on a computer and therefore store in their "Documents and Settings\\Local Settings\Application Data\" folder. Is there a function that returns the URL for the local settings folder for the user currently logged in? Or would I have to find out who the user is and concatenate it onto the hardcoded URL of the "Documents and Settings" folder? If I have to do the latter, what is the best way of doing it? Thanks for time and help!
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement