Click or drag to resize

ScsiAdapter Class

Represents Arsenal Image Mounter objects.
Inheritance Hierarchy

Namespace:  Arsenal.ImageMounter
Assembly:  Arsenal.ImageMounter (in Arsenal.ImageMounter.dll) Version: 1.0.0.0 (3.4.140.0)
Syntax
public class ScsiAdapter : DeviceObject

The ScsiAdapter type exposes the following members.

Constructors
  NameDescription
Public methodScsiAdapter
Opens first found Arsenal Image Mounter.
Public methodScsiAdapter(Byte)
Opens a specific Arsenal Image Mounter adapter specified by SCSI port number.
Top
Properties
  NameDescription
Public propertyAccessMode (Inherited from DeviceObject.)
Public propertyDeviceInstance
Public propertyDeviceInstanceName
Public propertySafeFileHandle (Inherited from DeviceObject.)
Top
Methods
  NameDescription
Public methodChangeFlags(UInt32, Int64)
Extends size of an existing virtual disk.
Public methodChangeFlags(UInt32, DeviceFlags, DeviceFlags)
Modifies properties for an existing virtual disk.
Public methodCheckDriverVersion
Checks if version of running Arsenal Image Mounter SCSI miniport servicing this device object is compatible with this API library. If this device object is not created by Arsenal Image Mounter SCSI miniport, an exception is thrown.
Public methodStatic memberCheckDriverVersion(SafeFileHandle)
Checks if version of running Arsenal Image Mounter SCSI miniport servicing this device object is compatible with this API library. If this device object is not created by Arsenal Image Mounter SCSI miniport, an exception is thrown.
Public methodCreateDevice(Int64, UInt32, Int64, DeviceFlags, String, Boolean, UInt32)
Creates a new virtual disk.
Public methodCreateDevice(Int64, UInt32, Int64, DeviceFlags, String, Boolean, String, Boolean, UInt32)
Creates a new virtual disk.
Public methodDispose
Close device object.
(Inherited from DeviceObject.)
Protected methodDispose(Boolean) (Inherited from DeviceObject.)
Public methodEnumerateDevicesProperties
Retrieves a list of DeviceProperties objects for each virtual disk on this adapter.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Inherited from DeviceObject.)
Public methodGetDeviceList
Retrieves a list of virtual disks on this adapter. Each element in returned list holds device number of an existing virtual disk.
Public methodGetDeviceName
Returns a PhysicalDrive or CdRom device name for specified device number. Device numbers are created when a new virtual disk is created and returned in a reference parameter to CreateDevice method.
Public methodGetDriverSubVersion
Retrieves the sub version of the driver. This is not the same as the API compatibility version checked for by CheckDriverVersion method. The version record returned by this GetDriverSubVersion method can be used to find out whether the latest version of the driver is loaded, for example to show a dialog box asking user whether to upgrade the driver. If driver does not support this version query, this method returns Nothing/null.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetPnPDeviceName
Returns a PnP registry property for the device object that SCSI port driver has created for a mounted device.
Public methodGetRawDeviceName
Returns an NT device path to the physical device object that SCSI port driver has created for a mounted device. This device path can be used even if there is no functional driver attached to the device stack.
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 methodOpenDevice
Opens a DiskDevice object for specified device number. Device numbers are created when a new virtual disk is created and returned in a reference parameter to CreateDevice method.
Public methodQueryDevice(UInt32)
Retrieves properties for an existing virtual disk.
Public methodQueryDevice(UInt32, Int64, UInt32, Int64, DeviceFlags, String)
Retrieves properties for an existing virtual disk.
Public methodQueryDevice(UInt32, Int64, UInt32, Int64, DeviceFlags, String, String)
Retrieves properties for an existing virtual disk.
Public methodRemoveAllDevices
Removes all virtual disks on current adapter.
Public methodRemoveAllDevicesSafe
Removes all virtual disks on current adapter by first taking the disks offline so that any mounted file systems are safely dismounted.
Public methodRemoveDevice
Removes an existing virtual disk from adapter.
Public methodRemoveDeviceSafe
Removes an existing virtual disk from adapter by first taking the disk offline so that any mounted file systems are safely dismounted.
Public methodRescanBus
Issues a SCSI bus rescan to find newly attached devices and remove missing ones.
Public methodRescanScsiAdapter
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateDiskProperties
Re-enumerates partitions on all disk drives currently connected to this adapter. No exceptions are thrown on error, but any exceptions from underlying API calls are logged to trace log.
Public methodUpdateDiskProperties(UInt32)
Re-enumerates partitions on specified disk currently connected to this adapter. No exceptions are thrown on error, but any exceptions from underlying API calls are logged to trace log.
Top
Fields
See Also