Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. IsolatedStorage - How to store application config for more than one user?

IsolatedStorage - How to store application config for more than one user?

Scheduled Pinned Locked Moved .NET (Core and Framework)
questionwindows-admintutorialworkspace
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hubert
    wrote on last edited by
    #1

    I'd like to store global application settings (for machine, not for the user). My first tought was to use IsolatedStorage with following parameters: IsolatedStorageFile.GetStore (IsolatedStorageScope.Machine | IsolatedStorageScope.Domain | IsolatedStorageScope.Application, null, null); But 1. I can't get proper application identity to work. So how can I assure, that it will be shared between different application versions? 2. I have changed Application to Assembly for test purposes, but configuration wasn't shared between users :wtf: How do you store sensitive infos for the application? Is the registry the only place to share this data? H.

    T 1 Reply Last reply
    0
    • H Hubert

      I'd like to store global application settings (for machine, not for the user). My first tought was to use IsolatedStorage with following parameters: IsolatedStorageFile.GetStore (IsolatedStorageScope.Machine | IsolatedStorageScope.Domain | IsolatedStorageScope.Application, null, null); But 1. I can't get proper application identity to work. So how can I assure, that it will be shared between different application versions? 2. I have changed Application to Assembly for test purposes, but configuration wasn't shared between users :wtf: How do you store sensitive infos for the application? Is the registry the only place to share this data? H.

      T Offline
      T Offline
      Tim Paaschen
      wrote on last edited by
      #2

      I typically use Application.CommonAppDataPath to store the global configuration files.

      Regards, Tim

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups