Search code examples
c#windows-7application-settings

Where should I store a Computer wide license/Computer wide settings?


I've been looking for all most a day now. Is there any place to store a Computer-wide license. I don't want to use the Registry, so don't suggest that.

This license will be installed during the program's runtime, so what I need is a place to store computer wide settings that can have read/write access without running as Admin.

I've looked online, and Microsoft, in their infinite 'wisdom' for security apparently locked down all methods of saving application wide settings.


Solution

  • In Windows 7 I use the hidden ProgramData folder. I have just checked and it is available to users, they just can't see it by default.

    I normally use it for storing .ini files in for applications.

    Hope that helps