Search code examples
.netcookiesclickoncesmartclientuser-preferences

.NET - Click-Once / Smart Client Applications - Browser Cookie Equivalent?


Is there an equivalent to browser cookies for Smart Client / Click Once application development on .NET 3.5? Some place I can store cookies on the user's machine rather than the server.

Or to put it another way - what file location can you write to from a sandboxed Click-Once app that won't violate good security practices. I don't want to take the app out of the sandbox and run with elevated privileges if I don't have to.


Solution

  • Have a look at isolated storage. Here's a specific blog post for ClickOnce apps.