C
C#13mo 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
Omnissiah
Omnissiah13mo 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
nielsOP13mo ago
All right, yeah thought of using a file. Stored in here: Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
Unknown User
Unknown User13mo ago
Message Not Public
Sign In & Join Server To View
niels
nielsOP13mo ago
Right, then I would also have some type safety
sibber
sibber13mo ago
might be overkill tho unless you have a ton of settings
Unknown User
Unknown User13mo ago
Message Not Public
Sign In & Join Server To View
Accord
Accord13mo 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.
Want results from more Discord servers?
Add your server