DiskDevice Class |
Namespace: Arsenal.ImageMounter
The DiskDevice type exposes the following members.
Name | Description | |
---|---|---|
DiskDevice(String) |
Opens an disk device object without requesting read or write permissions. The
resulting object can only be used to query properties like SCSI address, disk
size and similar, but not for reading or writing raw disk data.
| |
DiskDevice(KeyValuePairString, SafeFileHandle, FileAccess) | ||
DiskDevice(String, FileAccess) |
Opens an disk device object, requesting read, write or both permissions.
| |
DiskDevice(NativeFileIOSCSI_ADDRESS, FileAccess) |
Opens an disk device object.
|
Name | Description | |
---|---|---|
AccessMode | (Inherited from DeviceObject.) | |
DeviceNumber |
Retrieves device number for this disk.
| |
DevicePath |
Returns the device path used to open this device object, if opened by name.
If the object was opened in any other way, such as by supplying an already
open handle, this property returns null/Nothing.
| |
DiskId | ||
DiskPolicyOffline |
Gets or sets physical disk offline attribute. Only valid for
physical disk objects, not volumes or partitions.
| |
DiskPolicyReadOnly |
Gets or sets physical disk read only attribute. Only valid for
physical disk objects, not volumes or partitions.
| |
DiskSignature |
Gets or sets disk signature stored in boot record.
| |
DiskSize |
Retrieves volume size of disk device.
| |
DriveLayoutEx |
Gets information about a disk partitions. This property is available
for physical disks, not disk partitions.
| |
Geometry |
Returns logical disk geometry. Normally, only the BytesPerSector member
contains data of interest.
| |
HasValidPartitionTable |
Return a value indicating whether present sector 0 data indicates a valid MBR
with a partition table and a disk signature.
| |
IsDiskWritable |
Determines whether disk is writable or read-only.
| |
PartitionInformation |
Gets information about a partition stored on a disk with MBR
partition layout. This property is not available for physical
disks, only disk partitions are supported.
| |
PartitionInformationEx |
Gets information about a disk partition. This property is not
available for physical disks, only disk partitions are supported.
| |
SafeFileHandle | (Inherited from DeviceObject.) | |
ScsiAddress |
Retrieves SCSI address for this disk.
| |
StorageDeviceNumber |
Retrieves storage device type and physical disk number information.
| |
VBRHiddenSectorsCount |
Gets or sets disk signature stored in boot record.
| |
VolumeSizeInformation |
Retrieves partition information.
| |
WriteOverlayStatus |
Get live statistics from write filter driver.
|
Name | Description | |
---|---|---|
DismountVolumeFilesystem |
Locks and dismounts filesystem on a volume. Upon successful return, further access to the device
can only be done through this device object instance until it is either closed (disposed) or lock is
released on the underlying handle.
| |
Dispose |
Close device object.
(Inherited from DeviceObject.) | |
Dispose(Boolean) | (Overrides DeviceObjectDispose(Boolean).) | |
EnumerateDiskVolumes |
Enumerates disk volumes that use extents of this disk.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | (Inherited from DeviceObject.) | |
FlushBuffers |
Flush buffers for a disk or volume.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetRawDiskStream |
Returns an DiskStream object that can be used to directly access disk data.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetVolumeDiskExtents |
Retrieves the physical location of a specified volume on one or more disks.
| |
InitializeDisk |
Initialize a raw disk device for use with Windows. This method is available
for physical disks, not disk partitions.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OpenAdapter |
Opens SCSI adapter that created this virtual disk.
| |
QueryDevice |
Retrieves properties for an existing virtual disk.
| |
QueryDevice(UInt32, Int64, UInt32, Int64, DeviceFlags, String) |
Retrieves properties for an existing virtual disk.
| |
QueryDevice(UInt32, Int64, UInt32, Int64, DeviceFlags, String, String) |
Retrieves properties for an existing virtual disk.
| |
RemoveDevice |
Removes this virtual disk from adapter.
| |
SetVolumeOffline |
Sets disk volume offline attribute. Only valid for logical
disk volumes, not physical disk drives.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UpdateProperties |
Updates disk properties by re-enumerating partition table.
|