System.IO.IsolatedStorage.IsolatedStorageFile Members

The members of System.IO.IsolatedStorage.IsolatedStorageFile are listed below.

See Also: Inherited members from System.IO.IsolatedStorage.IsolatedStorage

Public Properties

[read-only]
override
AvailableFreeSpacelong.

Gets a value that represents the amount of free space available for isolated storage.

[read-only]
override
CurrentSizeulong.

Gets the current size of the isolated storage.

[read-only]
static
IsEnabledbool.

Gets a value that indicates whether isolated storage is enabled.

[read-only]
override
MaximumSizeulong.

Gets a value representing the maximum amount of space available for isolated storage within the limits established by the quota.

[read-only]
override
Quotalong.

Gets a value that represents the maximum amount of space available for isolated storage.

[read-only]
override
UsedSizelong.

Gets a value that represents the amount of the space used for isolated storage.

Public Methods

Close()

Closes a store previously opened with IsolatedStorageFile.GetStore(IsolatedStorageScope, Type, Type), IsolatedStorageFile.GetUserStoreForAssembly, or IsolatedStorageFile.GetUserStoreForDomain.

CopyFile(string, string)

Copies an existing file to a new file.

CopyFile(string, string, bool)

Copies an existing file to a new file, and optionally overwrites an existing file.

CreateDirectory(string)

Creates a directory in the isolated storage scope.

CreateFile(string) : IsolatedStorageFileStream

Creates a file in the isolated store.

DeleteDirectory(string)

Deletes a directory in the isolated storage scope.

DeleteFile(string)

Deletes a file in the isolated storage scope.

DirectoryExists(string) : bool

Determines whether the specified path refers to an existing directory in the isolated store.

Dispose()

Releases all resources used by the System.IO.IsolatedStorage.IsolatedStorageFile.

FileExists(string) : bool

Determines whether the specified path refers to an existing file in the isolated store.

Finalize()
Documentation for this section has not yet been entered.
GetCreationTime(string) : DateTimeOffset

Returns the creation date and time of a specified file or directory.

GetDirectoryNames() : string[]

Enumerates the directories at the root of an isolated store.

GetDirectoryNames(string) : string[]

Enumerates the directories in an isolated storage scope that match a given search pattern.

static
GetEnumerator(IsolatedStorageScope) : IEnumerator

Gets the enumerator for the System.IO.IsolatedStorage.IsolatedStorageFile stores within an isolated storage scope.

GetFileNames() : string[]

Enumerates the file names at the root of an isolated store.

GetFileNames(string) : string[]

Gets the file names that match a search pattern.

GetLastAccessTime(string) : DateTimeOffset

Returns the date and time a specified file or directory was last accessed.

GetLastWriteTime(string) : DateTimeOffset

Returns the date and time a specified file or directory was last written to.

static
GetMachineStoreForApplication() : IsolatedStorageFile

Obtains machine-scoped isolated storage corresponding to the calling code's application identity.

static
GetMachineStoreForAssembly() : IsolatedStorageFile

Obtains machine-scoped isolated storage corresponding to the calling code's assembly identity.

static
GetMachineStoreForDomain() : IsolatedStorageFile

Obtains machine-scoped isolated storage corresponding to the application domain identity and the assembly identity.

static
GetStore(IsolatedStorageScope, object) : IsolatedStorageFile

Obtains isolated storage corresponding to the given application identity.

static
GetStore(IsolatedStorageScope, Type) : IsolatedStorageFile

Obtains isolated storage corresponding to the isolation scope and the application identity object.

static
GetStore(IsolatedStorageScope, object, object) : IsolatedStorageFile

Obtains the isolated storage corresponding to the given application domain and assembly evidence objects.

static
GetStore(IsolatedStorageScope, Type, Type) : IsolatedStorageFile

Obtains isolated storage corresponding to the isolated storage scope given the application domain and assembly evidence types.

static
GetStore(IsolatedStorageScope, System.Security.Policy.Evidence, Type, System.Security.Policy.Evidence, Type) : IsolatedStorageFile

Obtains isolated storage corresponding to the given application domain and the assembly evidence objects and types.

static
GetUserStoreForApplication() : IsolatedStorageFile

Obtains user-scoped isolated storage corresponding to the calling code's application identity.

static
GetUserStoreForAssembly() : IsolatedStorageFile

Obtains user-scoped isolated storage corresponding to the calling code's assembly identity.

static
GetUserStoreForDomain() : IsolatedStorageFile

Obtains user-scoped isolated storage corresponding to the application domain identity and assembly identity.

static
GetUserStoreForSite() : IsolatedStorageFile

Obtains a user-scoped isolated store for use by applications in a virtual host domain.

override
IncreaseQuotaTo(long) : bool

Enables an application to explicitly request a larger quota size, in bytes.

MoveDirectory(string, string)

Moves a specified directory and its contents to a new location.

MoveFile(string, string)

Moves a specified file to a new location, and optionally lets you specify a new file name.

OpenFile(string, System.IO.FileMode) : IsolatedStorageFileStream

Opens a file in the specified mode.

OpenFile(string, System.IO.FileMode, System.IO.FileAccess) : IsolatedStorageFileStream

Opens a file in the specified mode with the specified read/write access.

OpenFile(string, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare) : IsolatedStorageFileStream

Opens a file in the specified mode, with the specified read/write access and sharing permission.

override
Remove()

Removes the isolated storage scope and all its contents.

static
Remove(IsolatedStorageScope)

Removes the specified isolated storage scope for all identities.

Protected Methods

override
GetPermission(System.Security.PermissionSet) : System.Security.Permissions.IsolatedStoragePermission

Returns the System.Security.Permissions.IsolatedStoragePermission from within a given permission set that represents access to isolated storage.