Return to Snippet

Revision: 55448
at February 7, 2012 07:51 by kajinka13


Initial Code
WebClient client = new WebClient();
client.OpenReadCompleted += (sender, event) => {
	using (IsolatedStorageFile storage = IsolatedStorageFile.GetUserStoreForApplication())
    {
		using (Stream tileStream = storage.CreateFile("Shared/ShellContent/tile.png"))
        {
			evt.Result.CopyTo(tileStream);
        }
    }
	
	ShellTile tile = ShellTile.ActiveTiles.First();
    tile.Update(new StandardTileData
    {
		BackgroundImage = new Uri("isostore:/Shared/ShellContent/tile.png")
    });
};
client.OpenReadAsync(new Uri("http://forum.aspitalia.com/avatars/90/Ricciolo.avatar"));

Initial URL

                                

Initial Description
Mostrare una tile dall'isolated storage con Windows Phone 7.1

Initial Title
Mostrare una tile dall'isolated storage con Windows Phone 7.1

Initial Tags
window, Net

Initial Language
C#