Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shared Storage in .net windows forms application

Tags:

c#

.net

winforms

Is there something like shared storage in .net windows forms applications, What I want to do is to build a settings form, where each user can save his own settings on his machine, without the need to explicitly create external files and save the values in these files.

Thanks

like image 858
Hassan Mokdad Avatar asked Feb 19 '26 21:02

Hassan Mokdad


2 Answers

Maybe Isolated storage suit your needs. Also you can think about registry.

like image 198
Renatas M. Avatar answered Feb 21 '26 10:02

Renatas M.


you can use the "Settings" to do this - just choose "User" instead of "Application" - this way the properties will not be stored into the app.config but onto a nested directory in the users home-directory. You can load/save those settings on runtime too (unlike the app.config settings)

like image 45
Random Dev Avatar answered Feb 21 '26 11:02

Random Dev



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!