PrimoBurner SDK Samples
The PrimoBurner SDK includes samples that demonstrate many of the topics described in this documentation. The following samples are located in the Samples and Samples.vb directories, under the main SDK directory:
- AudioBurner.NET. Creates audio CD from audio files. Uses the AudioCD interface. Demonstrates audio CD authoring with CD-TEXT and hidden tracks.
- BlockDevice.NET. Records data to CD and DVD in real time. Uses the BlockDevice interface. Suitable for burning data incrementally when the final size and number of files is not known in advance. Most of image and video capturing applications work that way.
- BluRayBurner.NET. Burns data on Blu-Ray media including BD-R, BD-RE, BD-R DL and BD-RE DL . Supports 25GB and 50GB discs.
- CprmDevice.NET. Reads the properties of CPRM (Content Protection for Recording Media) enabled DVD-RW. Read various media keys and other properties.
- DataBurner.NET. Burn data on CD media. Implements different file systems like ISO, Joliet, HFS and UDF, and bootable disc creation.
- DataBurnerCmd.NET. Burns a folder from HDD or burns an ISO image file. Folder burning may be performed in packet mode (incremental burning of content), in which case the disc must be finalized in order to be readable. Works with all types of media - CD/DVD/BD.
- DataBurnerEx.NET. Same as DataBurner.NET but instead of reading data from files it reads it from DataStream objects. A custom DataStream implementation can be used to read data from unconventional sources like encrypted files or a database.
- DataReaderCmd.NET. Creates an image of a CD/DVD/BD track. Extracts single file from an ISO image or from a CD/DVD/BD disc. Reads files from hidden CD/DVD/BD sessions. Hidden sessions are normally not shown by the operating system.
- DVDBurner.NET. Burns data on DVD. Burns a DVD Video disc from DVD video file structure (i.e. VIDEO_TS folder).
- LockMedium.NET. Lock and unlocks the device tray.
- PacketBurnerEx.NET. Burns CDs and DVDs in packet mode. Packet mode allows you to burn files and sessions in increments. In order to be readable packet mode discs must be must be finalized.
- ReadCDChannel.NET. Reads and displays sub-channel information from a CD.
- ReadCDSession.NET. Reads Indexes, ISRC (International Standard Recording Code) and MCN (Media Catalog Number) information from a CD.
- ReadCDText.NET. Reads CD-TEXT information from an Audio CD.
- ReadMediaInfo.NET. Reads media manufacturer details, disk capacity, disk free space and media track information.
- ReadTOC.NET. Reads general information about a CD like number of sessions, number of tracks, and track lengths. This sample works with CD media only.
- ScsiCmd.NET. Sends SCSI commands directly to the device.