isolatedstorage

Problem in using Isolated class

Hi I have to store some hidden information in Isolated space. For that I am using System.IO.Isolated class like IsolatedStorageFile isf = System.IO.IsolatedStorage.IsolatedStorageFile.GetStore(IsolatedStorageScope.User | IsolatedStorageScope.Assembly, null, null); Stream writer = new IsolatedStorageFileStream(filename, FileMode.Crea...

Can I get a path for a IsolatedStorage file and read it from external applications?

I want to write a file where an external application can read it, but I want also some of the IsolatedStorage advantages, basically insurance against unexpected exceptions. Can I have it? ...

Is Silverlight isolated storage treated as permanent, or as a cache?

How persistent is isolated storage - does Silverlight treat it like a cache, deleting items when it needs more space, or only when the user or application request it? There also seems to be a wide variety of means to identify isolated storage - machine, application, domain, .... What I'm having trouble with is how these all relate to th...

IsolatedStorage: Delete preferences in uninstaller?

Our application saves user preferences in isolated storage. However,it's proving tricky to remove these files from our uninstaller! I can enumerate all of the files in IsolatedStorage (using the MSDN example code), locate the ones that are related to our strongname key, and attempt to remove/delete them. Unfortunately, that's where it ...

Binding to IsolatedStorageFile variable AvailableFreeSpace in Silverlight

I am trying to display a simple text block that shows the value of AvailableFreeSpace from IsolatedStorage. That is: System.IO.IsolatedStorage.IsolatedStorageFile.GetUserStoreForApplication().AvailableFreeSpace It needs to dynamically update as the available storage changes. I know this is probably basic but I can't figure out how to...

Silverlight Isolated Storage Settings Being Overwritten by Another Silverlight Application

I have a Silverlight application deployed on both our staging and production servers. This application caches information using isolated storage settings. If I browser to http://stagingserver/pagewithsilverlight.aspx everything works fine, data is stored to isolated storage on my machine just fine. However if I browse to http://pro...

FIPS-compliant Isolated Storage in WinXP?

I've read (but not tested) that Isolated Storage uses Sha1Managed, which is not FIPS-compliant? Is that accurate, and can anything be done to use Isolated Storage on a FIPS-compliant WinXP SP2 box? I've seen mention of "Isolated Storage" within both the ClickOnce and Silverlight spaces. I'd appreciate an informed answer regarding eith...

Silverlight serialisation/deserialisation problem

I'm looking for a way to persist Silverlight objects to a user's PC, then re-hydrate them so the user can finish editing them. Serialising with DataContractSerializer and persisting to IsolatedStorageFile works fine. However, deserialising causes a problem. Here's the code that causes the failure: private string _FirstNames = string.E...

Silverlight isolated storage

Wanted to know if there was a way to take a folder that is in isolated storage, zip it and make it available for a user to download the zipped file. ...

Silverlight Event Log in Isolated Storage

Has anyone written an event log that uses Isolated Storage in Silverlight 3? Any suggestions on implementing one? Specific questions: Should I keep a stream writer open, or should I open,write, and close for each entry? How should I remove items from the log atomically? ...

Client data cache in isolated storage - asp.net - jquery - ajax - silverlight

I have a couple of customer websites that have been in use for 4+ years. One of the pages on both sites contain drop downs that now contain 3000+ items. I have attempted initial solutions to this problem by adding new pages to both sites where one site is using silverlight and the other is using ajax. The silverlight page currently perf...

reusable "save credentials" dialog (like IE's or Vista's) in .NET or Win32

Lately I've been working in an office with a wireless network which uses an annoying authentication scheme: every few hours, you need to open up a browser and type a username/password into an authentication web page, or you lose network access. (When the time expires, your next browser request will redirect to the auth page, and if your ...

Set defaults for IsolatedStorageSettings.ApplicationSettings

Silverlight has IsolatedStorageSettings.ApplicationSettings. I'm basically looking for an equivalent to AppSettings in ASP.NET where I can set defaults. How do I set defaults in an XAML file for ApplicationSettings? The documentation doesnt explain how to. ...

Different applications using the same IsolatedBackingStore

I am using the entlib's Caching Application Block with isolated storage. I want different instances of the same application to use the same backing store. Currently, the second instance of my app reads from the backing store when it starts up, so items that have already been cached are read. However, when either instance cahces a new it...

Copying a file from an IsolatedStorage

Hi, I was just wondering if there is a way to prevent people from copying a file which is stored by using System.IO.IsolatedStorage? To me, I can't think of anyway. Any person can go and grab those files manually. Is there other ways that I am missing? ...

Silverlight Isolated Storage and Host Name Redirects

I have a site that serves up a pretty substantial Silverlight RIA and it makes use of IsolatedStorage. The SL app is served up from https://www.site.com/Application (MVC View that hosts the SL object tags, etc). It is also served up from https://site.com/Application. The problem inherent in this is that this will create two separate I...

Silverlight IsolatedStorage: Delete not working, Truncate leaving blank space

Hi, I'm using IsloatedStorage in a Silverlight app to log information on the client, and I added a function to clear the log file... However I have had problems with the two approaches I tried: Approach one: use IsolatedStorageFile.DeleteFile("log.log"); Result: This fails and returns an "[IsolatedStorage_DeleteFile]" error (No othe...

How to access relatively places text files in folders below a Silverlight .xap file?

In a WPF application, I load in xaml files with the xamlreader by finding the current directory like this: public static string GetApplicationDirectory() { return System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); } so I can read in a .xaml file by getting its absolute path like this: string pathAndFileNam...

reading an IsolatedStorageFile in Silverlight

I would like to take a file in isolatedstorage and convert it to a filestream for reading. how do I do this in code? ...

Silverlight IsolatedStorage techniques for larger files?

I am using IsolatedStorage in Silverlight 3 to store some settings when a user navigates away from a page hosting the application. Currently i'm using a DataContractSerializer to write the settings to file. In some circumstances the resulting file is quite large, over 10MB (a lot of this size is due to the serializer itself and the XML ...