Virtu/Virtu/Wpf/Services/WpfStorageService.cs
Sean Fausett 365e5723c1 Deleted all svn:eol-style properties on files.
--HG--
extra : convert_revision : svn%3Affd33b8c-2492-42e0-bdc5-587b920b7d6d/trunk%4050811
2010-08-28 11:34:14 +00:00

20 lines
577 B
C#

using System.Deployment.Application;
using System.IO.IsolatedStorage;
namespace Jellyfish.Virtu.Services
{
public sealed class WpfStorageService : IsolatedStorageService
{
public WpfStorageService(Machine machine) :
base(machine)
{
}
protected override IsolatedStorageFile GetStore()
{
return ApplicationDeployment.IsNetworkDeployed ? // clickonce
IsolatedStorageFile.GetUserStoreForApplication() : IsolatedStorageFile.GetUserStoreForAssembly();
}
}
}