We have a program that need to be able to run on Local machines, Terminal Servers and Citrix.
While the program is running it need to create some data that are user-specific (Logs), so for that reason I save this in AppData (C:\Users\\AppData\Roaming)
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
I'm pretty sure this works local and TS but what about Citrix. I heard some information that data created in AppData during a session are removed during logoff, but can this really be true. I was under the impression that
Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
was the volitile folder (C:\Users\\AppData\Local) while data added to the Roaming folder was persisted from session to session.