On my system, %AppData%
leads to ApplicationData
which is C:Users<USER>AppDataRoaming
But there is also C:Users<USER>AppDataLocal
And for some more confusion D:Users<USER>AppDataLocalLow
string local = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
string roaming = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
My question is, to which of these locations should my application save its data?
Are there guidelines for which of these locations to use? And am I leaving myself open to problems if I choose the wrong location?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…