|
PrimoBurner for .NET
5.0
CD, DVD and Blu-ray Software Development Kit
|
The CDSession interface allows you to define the session layout (the TOC) of a CD. More...
Public Member Functions | |
| CDSession () | |
| Creates a new instance of CDSession. | |
| void | ClearRawPoint (RawPoint point) |
| Clears a raw session point. | |
| RawTocTrack | GetRawPoint (RawPoint point) |
| Gets the data for a raw session point. | |
| bool | SetRawPoint (RawPoint point, RawTocTrack rawTocTrack) |
| The SetRawPoint method sets a raw point to be used during the recording of the lead-in of a CD. | |
Properties | |
| Int32 | Length [get] |
| Gets the length of the session in blocks. | |
| String | Mcn [get, set] |
| Gets/Sets the Media Catalog Number (MCN) also known as the Uniform Product Code(UPC) of the disc. | |
| CDSession | NextCDSession [get, set] |
| Gets/Sets a CDSession object that defines the next session. | |
| IList< CDTrack > | Tracks [get] |
| Gets the list of tracks in the session. | |
| SessionType | Type [get, set] |
| Gets/Sets the session type. | |
The CDSession interface allows you to define the session layout (the TOC) of a CD.
| void ClearRawPoint | ( | RawPoint | point | ) |
Clears a raw session point.
| point | Raw TOC point. |
| RawTocTrack GetRawPoint | ( | RawPoint | point | ) |
Gets the data for a raw session point.
| point | Raw point number. |
| bool SetRawPoint | ( | RawPoint | point, |
| RawTocTrack | rawTocTrack | ||
| ) |
The SetRawPoint method sets a raw point to be used during the recording of the lead-in of a CD.
The points set with this method are used only when the session type is
SessionType.Raw and are ignored for all other session types.
| point | Raw point number. |
| rawTocTrack | A RawTocTrack structure that contains the raw point data. |
|
get |
Gets the length of the session in blocks.
That is the total length of all tracks including the pre-gaps and the post-gaps.
This is a convenience property. The return value is always the post-gap end of the last track + 1.
|
getset |
Gets/Sets a CDSession object that defines the next session.
This property is useful when burning multi-session CDs in RAW mode only.
Next session object is ignored when a write method other than FullRawDao, RawDao and RawDao2352 is used with the Device.StartCDSession method.