I have a Silverlight app published for some customers. I am having problems issuing updates.
I would like for when a user loads the webpage initially, if their Application Storage is older than the last time the site was updated, then this happens. This will make my application work.
So, two questions:
-
How can I check if the users stored Application Storage is older than
the last update to the Silverlight site? -
How can I delete the Application Storage for the site ?
I have tried calling:
using( var store = IsolatedStorageFile.GetUserStoreForApplication() ) {
store.Remove();
}
using( var store = IsolatedStorageFile.GetUserStoreForSite()) {
store.Remove();
}
in the App.xaml.cs file, but these seem to have no effect on the displayed page – the Application Storage is not fully cleared.
•How can I check if the users stored Application Storage is older than the last update to the Silverlight site?
this code go in app to check if there’s and update to your SL application I don’t know if it help but if you just want to do something with that IsolatedStorageFile when there’s update it should be what you want :
•How can I delete the Application Storage for the site ?