Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

VDriveInfo Class

Namespace: Rebex.IO
Assembly: Rebex.FileSystem.dll (version 7.0.9147)

Provides access to a virtual FileSystemProvider and offers interface similar to the standard .NET DriveInfo interface.

Syntax
public sealed class VDriveInfo
Inheritance
Object
VDriveInfo
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)

Constructors

Name Description
VDriveInfo(String)

Initializes a new instance of the VDriveInfo. Consider using the AsVDriveInfo(FileSystemProvider) method or call GetDrives() method if you don't know the drive (file system provider) name.

Properties

Name Description
AvailableFreeSpace

Gets the available free space on the drive. Note: Currently returns -1 (unknown value) for all virtual file system drives.

DriveFormat

Gets the drive format. Note: Currently returns constant string 'Rebex VFS - virtual file system' for all virtual file system drives.

DriveType

Gets the drive type. Note: Currently return DriveType.Unknown for all virtual file system drives.

IsReady

Gets a value that indicates if the drive is ready. Note: Currently return true (drive is ready) for all all virtual file system drives.

Name

Gets the drive name.

RootVDirectory

Gets a instance of the VDirectoryInfo that represents drive root directory.

TotalFreeSpace

Gets the total free space on the drive. Note: Currently returns -1 (unknown value) for all virtual file system drives.

TotalSize

Gets the total size of the drive. Note: Currently returns -1 (unknown value) for all virtual file system drives.

VolumeLabel

Gets the drive volume label. Note: Currently returns Empty for all virtual file system drives.

Methods

Name Description
GetDrives()

Method returns all registered virtual file system providers in the form of the VDriveInfo object.

ToString()

Returns the drive name.

See Also

VDirectoryInfo
VFileInfo
VDirectory
VFile
MemoryFileSystemProvider
LocalFileSystemProvider
MountCapableFileSystemProvider
ReadWriteFileSystemProvider
ReadOnlyFileSystemProvider
In This Article
  • Constructors
  • Properties
  • Methods
  • See Also
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies