Show / Hide Table of Contents

Struct CDInfo

Used with GetInfo(Int32, out CDInfo) to retrieve information on a drive.

Namespace: System.Dynamic.ExpandoObject
Assembly: ManagedBass.Cd.dll
Syntax
public struct CDInfo
Remarks

The ReadWriteFlags, MaxSpeed and Cache members are unavailable when the WIO interface is used.

Properties

Cache

The drive's cache size, in kilobytes (KB).

Declaration
public int Cache { get; }
Property Value
Int32

CanLock

If true, Door(Int32, CDDoorAction) can be used and Lock/Unlock is supported?

Declaration
public bool CanLock { get; }
Property Value
Boolean

CanOpen

If true, Door(Int32, CDDoorAction) can be used and Open/Close is supported?

Declaration
public bool CanOpen { get; }
Property Value
Boolean

CDText

The drive can read CD-TEXT?

Declaration
public bool CDText { get; }
Property Value
Boolean

DriveLetter

The character letter of the drive.

Declaration
public char DriveLetter { get; }
Property Value
Char

Manufacturer

The drive manufacturer name.

Declaration
public string Manufacturer { get; }
Property Value
String

MaxSpeed

The maximum read speed, in kilobytes per second (KB/s). Divide by 176.4 to get the real-time speed multiplier, eg. 5645 / 176.4 = "32x speed".

Declaration
public int MaxSpeed { get; }
Property Value
Int32

Name

The drive product/model name.

Declaration
public string Name { get; }
Property Value
String

ReadWriteFlags

Read/Write capability flags (any combination of CDReadWriteFlags).

Declaration
public CDReadWriteFlags ReadWriteFlags { get; }
Property Value
CDReadWriteFlags

Revision

The revision number as a string.

Declaration
public string Revision { get; }
Property Value
String

SpeedMultiplier

Gets the real-time Speed Multiplier = MaxSpeed / 176.4.

Declaration
public int SpeedMultiplier { get; }
Property Value
Int32

Back to top Copyright © 2017 Mathew Sachin
Generated by DocFx