Obtains machine-scoped isolated storage corresponding to the calling code's application identity.
Public Shared Function GetMachineStoreForApplication As IsolatedStorageFile
public static IsolatedStorageFile GetMachineStoreForApplication()
public: static IsolatedStorageFile^ GetMachineStoreForApplication()
static member GetMachineStoreForApplication : unit -> IsolatedStorageFile
The application identity of the caller could not be determined.
-or-The granted permission set for the application domain could not be determined.
-or-
An isolated storage location cannot be initialized.
Sufficient isolated storage permissions have not been granted.
All assemblies associated with an application use the same isolated store when using this method.
GetMachineStoreForApplication is functionally equivalent to the following code:
isoFile = IsolatedStorageFile.GetStore(IsolatedStorageScope.Application Or _ IsolatedStorageScope.Machine, Nothing)
isoFile = IsolatedStorageFile.GetStore(IsolatedStorageScope.Application | IsolatedStorageScope.Machine, null);
isoFile = IsolatedStorageFile::GetStore(IsolatedStorageScope::Application | IsolatedStorageScope::Machine, (Type^)nullptr);
for using isolated storage. Associated enumeration: AssemblyIsolationByUser
when invoked late-bound through mechanisms such as Type..::.InvokeMember. Associated enumeration: ReflectionPermissionFlag..::.MemberAccess
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2