c# - Maintaining a program folder in program files out of date? -


for program i'm writing in vs c# wpf need store user related information on user's computer. far knew has been done creating folder in c:\program files , adding whatever program related info folder in subfolders or whatever. after doing browsing came across lot of people saying method out of date because access may denied create folder there, works administrative accounts, etc.. 1 site suggested saving c:\users\username\appdata\roaming or c:\users\username\appdata\local. question best , date method saving program data users computer?

also take @ msdn article.

it uwp apps have general idea put if developing wpf app.

you may need these folders:

  • environment.specialfolder.applicationdata
  • environment.specialfolder.localapplicationdata
  • environment.specialfolder.commonapplicationdata

Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -