Click or drag to resize
CdDrive Class
CdDrive class for control CD / DVD devices
Inheritance Hierarchy

Namespace: Alvas.Audio
Assembly: Alvas.Audio (in Alvas.Audio.dll) Version: 2016.0.6173.41573
public class CdDrive : IDisposable

The CdDrive type exposes the following members.

Public methodCdDrive
Initializes a new instance of the CdDrive class
Public methodClose
Closes the CdDrive object and releases any associated system resources.
Public methodDispose
Closes the CdDrive object and releases any associated system resources.
Public methodEjectCD
Open the CD drive door
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGetCdDrives
Returns CD drive letters array
Public methodStatic memberGetCdInfo
Returns CdInfo list for specified CD query
Public methodGetCdQuery
Returns CD query for current CD
Public methodStatic memberGetFormat
Returns CD audio (Compact Disc Digital Audio) format
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetInfo
Returns CdInfo list for current CD (Compact Disk)
Public methodGetNumAudioTracks
Return the number of audio tracks on the CD
Public methodGetReader
Returns CdReader for specified track number
Public methodGetTrackCount
Return the number of tracks on the CD
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsAudioTrack
Indicates whether the specified track contains audio data.
Public methodIsCdReady
Check if there is CD in the drive
Public methodLoadCD
Close the CD drive door
Public methodLockCD
Lock the CD drive
Public methodOpen
Opens specofied CD / DVD drive. Returns true if successful or false otherwise.
Public methodRefresh
If there is a CD in the drive read its TOC
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTrackSize
Get track size
Public methodUnLockCD
Unlock CD drive
Public propertyIsOpened
Indicates whether the drive is opened.
Public eventCdInserted
CdInserted event
Public eventCdRemoved
CdRemoved event
See Also