internal static IsolatedStorageSecurityState CreateStateToGetRootUserDirectory() { IsolatedStorageSecurityState state = new IsolatedStorageSecurityState(); state.m_Options = IsolatedStorageSecurityOptions.GetRootUserDirectory; return(state); }
internal static string GetRootUserDirectory() { IsolatedStorageSecurityState state = new IsolatedStorageSecurityState(); state.EnsureState(); return(state.RootUserDirectory); }
internal static IsolatedStorageSecurityState CreateStateForIsolatedStorageFolderName() { IsolatedStorageSecurityState state = new IsolatedStorageSecurityState(); state.m_Options = IsolatedStorageSecurityOptions.IsolatedStorageFolderName; return(state); }
internal static IsolatedStorageSecurityState CreateStateToGetAvailableFreeSpace() { IsolatedStorageSecurityState state = new IsolatedStorageSecurityState(); state.m_Options = IsolatedStorageSecurityOptions.AvailableFreeSpace; return(state); }
internal static IsolatedStorageSecurityState CreateStateToIncreaseQuotaForApplication(Int64 newQuota, Int64 usedSize) { IsolatedStorageSecurityState state = new IsolatedStorageSecurityState(); state.m_Options = IsolatedStorageSecurityOptions.IncreaseQuotaForApplication; state.m_Quota = newQuota; state.m_UsedSize = usedSize; return state; }
internal static IsolatedStorageSecurityState CreateStateToCheckSetInnerException() { IsolatedStorageSecurityState state = new IsolatedStorageSecurityState(); state.m_Options = IsolatedStorageSecurityOptions.SetInnerException; return(state); }
internal static IsolatedStorageSecurityState CreateStateToGetGroupAndIdForSite() { IsolatedStorageSecurityState state = new IsolatedStorageSecurityState(); state.m_Options = IsolatedStorageSecurityOptions.GetGroupAndIdForSite; return(state); }
internal static IsolatedStorageSecurityState CreateStateToIncreaseQuotaForGroup(String group, Int64 newQuota, Int64 usedSize) { IsolatedStorageSecurityState state = new IsolatedStorageSecurityState(); state.m_Options = IsolatedStorageSecurityOptions.IncreaseQuotaForGroup; state.m_Group = group; state.m_Quota = newQuota; state.m_UsedSize = usedSize; return state; }
internal static IsolatedStorageSecurityState CreateStateToIncreaseQuotaForApplication(Int64 newQuota, Int64 usedSize) { IsolatedStorageSecurityState state = new IsolatedStorageSecurityState(); state.m_Options = IsolatedStorageSecurityOptions.IncreaseQuotaForApplication; state.m_Quota = newQuota; state.m_UsedSize = usedSize; return(state); }
internal static IsolatedStorageSecurityState CreateStateToIncreaseQuotaForGroup(String group, Int64 newQuota, Int64 usedSize) { IsolatedStorageSecurityState state = new IsolatedStorageSecurityState(); state.m_Options = IsolatedStorageSecurityOptions.IncreaseQuotaForGroup; state.m_Group = group; state.m_Quota = newQuota; state.m_UsedSize = usedSize; return(state); }
internal static string FetchOrCreateRoot() { string rootFromHost = s_RootFromHost; if (s_RootFromHost == null) { string root = IsolatedStorageSecurityState.GetRootUserDirectory(); s_RootFromHost = root; } CreatePathPrefixIfNeeded(s_RootFromHost); return(s_RootFromHost); }
internal static IsolatedStorageSecurityState CreateStateForIsolatedStorageFolderName() { IsolatedStorageSecurityState state = new IsolatedStorageSecurityState(); state.m_Options = IsolatedStorageSecurityOptions.IsolatedStorageFolderName; return state; }
internal static IsolatedStorageSecurityState CreateStateToGetAvailableFreeSpace() { IsolatedStorageSecurityState state = new IsolatedStorageSecurityState(); state.m_Options = IsolatedStorageSecurityOptions.AvailableFreeSpace; return state; }
internal static IsolatedStorageSecurityState CreateStateToCheckSetInnerException() { IsolatedStorageSecurityState state = new IsolatedStorageSecurityState(); state.m_Options = IsolatedStorageSecurityOptions.SetInnerException; return state; }
internal static string GetRootUserDirectory() { IsolatedStorageSecurityState state = new IsolatedStorageSecurityState(); state.EnsureState(); return state.RootUserDirectory; }
internal static IsolatedStorageSecurityState CreateStateToGetGroupAndIdForSite() { IsolatedStorageSecurityState state = new IsolatedStorageSecurityState(); state.m_Options = IsolatedStorageSecurityOptions.GetGroupAndIdForSite; return state; }
internal static IsolatedStorageSecurityState CreateStateToGetRootUserDirectory() { IsolatedStorageSecurityState state = new IsolatedStorageSecurityState(); state.m_Options = IsolatedStorageSecurityOptions.GetRootUserDirectory; return state; }