As the title says- I'm not sure which appdata folder to use-

Should I use CommonApplicationData, The directory that serves as a common repository for application-specific data that is used by all users.

Or

LocalApplicationData, The directory that serves as a common repository for application-specific data that is used by the current, non-roaming user.

Is there any pro's or cons to each one? My app typically won't be used on a computer that is accessed by more than one user. The typical use is each user has their own laptop.

Is there any opinions or schools of thought on this?

I want to get this right the first time, because I don't want to have to make changes down the road.

Thanks

Recommended Answers

All 2 Replies

Swing a cat. :)
Although. If there's even a slight chance that a computer might be used by more than one user, you should seriously consider using the CommonApplicationData folder.

Good suggestion- that's what I'll do. Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.