Class OpticalDrive
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a CD-ROM or DVD-ROM drive.
public class OpticalDrive : GlobalSerializableClassicBase, IComparable<OpticalDrive>
- Inheritance
-
OpticalDrive
- Implements
Constructors
OpticalDrive()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.OpticalDrive class.
public OpticalDrive()
Properties
CapabilityDescriptions
Gets or sets the capabilities of this drive - for example "Supports Removable Media".
public SerializableStringCollection CapabilityDescriptions { get; set; }
Property Value
- SerializableStringCollection
Id
Gets or sets the identifier for this drive - for Windows based machines this is the drive letter - for example "D:".
public string Id { get; set; }
Property Value
Manufacturer
Gets or sets the manufacturer of the drive.
public string Manufacturer { get; set; }
Property Value
MediaType
Gets or sets the media type for this device - for example "DVD Writer".
public string MediaType { get; set; }
Property Value
MfrAssignedRevisionLevel
Gets or sets the firmware revision level that is assigned by the manufacturer - for example "EX01". This is available from Windows Vista onwards.
public string MfrAssignedRevisionLevel { get; set; }
Property Value
Name
Gets or sets the manufacturer assigned name of this device - for example "HL-DT-ST DVDRAM GMA-4082N ATA Device".
public string Name { get; set; }
Property Value
VolumeName
Gets or sets the name of the disk in the drive at the time of the scan.
public string VolumeName { get; set; }
Property Value
Methods
CompareTo(OpticalDrive)
Compares two CENTREL.XIA.Configuration.Types.OpticalDrive objects to allow sorting alphabetically by name.
public int CompareTo(OpticalDrive other)
Parameters
other
OpticalDriveThe CENTREL.XIA.Configuration.Types.OpticalDrive to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.OpticalDrive objects.