C
C#2y ago
niels

❔ Cross platform user settings for app.

If I want to set and read user settings for my application, what would be the best way to do that in a way that is cross platform?
7 Replies
many things
many things2y ago
you can use whatever format you like, json, xml, text as long as it's read from your service there are not really platform issues or i don't know if you already have a database or something
niels
nielsOP2y ago
All right, yeah thought of using a file. Stored in here: Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
niels
nielsOP2y ago
Right, then I would also have some type safety
sibber
sibber2y ago
might be overkill tho unless you have a ton of settings
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?