Obtains machine-scoped isolated storage corresponding to the calling code's assembly identity.
Public Shared Function GetMachineStoreForAssembly As IsolatedStorageFile
public static IsolatedStorageFile GetMachineStoreForAssembly()
public: static IsolatedStorageFile^ GetMachineStoreForAssembly()
static member GetMachineStoreForAssembly : unit -> IsolatedStorageFile
An isolated storage location cannot be initialized.
Sufficient isolated storage permissions have not been granted.
The same assembly within different applications always uses the same isolated store when using this method.
GetUserStoreForAssembly is functionally equivalent to the following code:
isoFile = IsolatedStorageFile.GetStore(IsolatedStorageScope.Assembly Or _ IsolatedStorageScope.Machine, Nothing, Nothing)
isoFile = IsolatedStorageFile.GetStore(IsolatedStorageScope.Assembly | IsolatedStorageScope.Machine, null, null);
isoFile = IsolatedStorageFile::GetStore(IsolatedStorageScope::Assembly | IsolatedStorageScope::Machine, (Type^)nullptr, (Type^)nullptr);
Different assemblies running within the same application domain always have distinct isolated stores.
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