Click or drag to resize
DigitalRuneFileSystemStorage Class
Provides access to the file system of the operating system. (Not supported on these platforms: Windows Phone, Windows Store, Xbox 360)
Inheritance Hierarchy

Namespace: DigitalRune.Storages
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public class FileSystemStorage : Storage, 
	IStorageInternal

The FileSystemStorage type exposes the following members.

Constructors
  NameDescription
Public methodFileSystemStorage
Initializes a new instance of the FileSystemStorage class using the current working directory as the root directory.
Public methodFileSystemStorage(String)
Initializes a new instance of the FileSystemStorage class using the specified directory as the root directory.
Top
Methods
  NameDescription
Public methodDispose
Releases all resources used by an instance of the Storage class.
(Inherited from Storage.)
Protected methodDispose(Boolean)
Releases the unmanaged resources used by an instance of the Storage class and optionally releases the managed resources.
(Inherited from Storage.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetRealPath
Gets the real path and name of the specified file.
(Overrides StorageGetRealPath(String).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOpenFile
Opens the specified file for reading.
(Overrides StorageOpenFile(String).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Protected propertyDirectorySeparator
Gets the directory separator character used natively by this storage.
(Overrides StorageDirectorySeparator.)
Public propertyIsDisposed
Gets a value indicating whether this instance has been disposed of.
(Inherited from Storage.)
Public propertyRootDirectory
Gets the absolute path to the root directory.
Top
Remarks

This type is not available on the following platforms: Windows Phone, Windows Store, Xbox 360

All file access is relative to the root directory specified in the constructor.
See Also