C# Class System.IO.IsolatedStorage.Helper

Afficher le fichier Open project: dotnet/corefx

Private Methods

Méthode Description
CreateDirectory ( string path, IsolatedStorageScope scope ) : void
CreateMutexNotOwned ( string pathName ) : Mutex
GetDataDirectory ( IsolatedStorageScope scope ) : string
GetDefaultIdentityAndHash ( object &identity, string &hash, char separator ) : void
GetExistingRandomDirectory ( string rootDirectory ) : string
GetNormalizedStrongNameHash ( AssemblyName name ) : string
GetNormalizedUriHash ( Uri uri ) : string
GetRandomDirectory ( string rootDirectory, IsolatedStorageScope scope ) : string
GetRootDirectory ( IsolatedStorageScope scope ) : string

The full root directory is the relevant special folder from Environment.GetFolderPath() plus "IsolatedStorage" and a set of random directory names if not roaming. Examples: User: @"C:\Users\jerem\AppData\Local\IsolatedStorage\10v31ho4.bo2\eeolfu22.f2w\" User|Roaming: @"C:\Users\jerem\AppData\Roaming\IsolatedStorage\" Machine: @"C:\ProgramData\IsolatedStorage\nin03cyc.wr0\o3j0urs3.0sn\" Identity for the current store gets tacked on after this.

GetStrongHashSuitableForObjectName ( Stream stream ) : string
GetStrongHashSuitableForObjectName ( string name ) : string
IsApplication ( IsolatedStorageScope scope ) : bool
IsAssembly ( IsolatedStorageScope scope ) : bool
IsDomain ( IsolatedStorageScope scope ) : bool
IsMachine ( IsolatedStorageScope scope ) : bool
IsRoaming ( IsolatedStorageScope scope ) : bool
ToBase32StringSuitableForDirName ( byte buff ) : string