Click or drag to resize

Burner Class

ZylBurner.NET is a CD/DVD burner .NET component. It is based on NeroCmd utility, so it needs Nero Burning ROM to be installed. This component is very easy to use, it's ideal for developers for quick CD/DVD writing purposes from .NET applications. The component works in two modes: synchronous mode and asynchronous mode. In synchronous mode the operational functions (Burn, Erase, BurnImage, Eject) always wait for the end of the current operation and return a value which indicates if the operation was successful or not. In synchronous mode the return value of the operational functions is always 0, and the functions don't wait for the end of the current operation. You can use it to burn data CDs/DVDs, audio CDs, video CDs and super video CDs.
Inheritance Hierarchy

Namespace:  ZylSoft.Media
Assembly:  ZylBurner (in ZylBurner.dll) Version: 1.14.8015.18472
Syntax
public class Burner : Component

The Burner type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyArtist
Artist of the CD/DVD.
Public propertyBluray
Specifies the media type. If true then is blue-ray.
Protected propertyCanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Public propertyCloseSession
Close current session.
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public propertyContinueSession
If the value of this property is higher than -1, then the specified session will be imported and the disk will be continued. The value 0 represents the first session.
Protected propertyDesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Public propertyDetectNonEmptyDisk
Detect non empty CD/DVD.
Public propertyDisableEject
Disable eject after burn.
Public propertyDiskType
Specifies the type of the disk, which can be Data, Audio, Video or Super Video.
Public propertyDvd
Specifies the media type. If true then is DVD, else is CD.
Protected propertyEvents
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public propertyFiles
List of files or folders to burn.
Public propertyForceEraseDisk
Force erase disk.
Public propertyHideNeroCmd
If this property is true then NeroCmd window is hidden.
Public propertyShowMessages
Enables / disables messages
Public propertySite
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public propertySpeed
Burn speed.
Public propertySpeedTest
Speed test before burn.
Public propertySynchronous
If this property is true then the component works in synchronous mode. In synchronous mode the operational functions (Burn, Erase, BurnImage, Eject) always wait for the end of the current operation and return a value which indicates if the operation was successful or not. If this property is true then the return value of the operational functions is always 0, and the functions don't wait for the end of the current operation.
Public propertyTao
Tao mode enabled.
Public propertyTitle
Title of the CD/DVD.
Public propertyUnderrunProtection
Under-run protection activated.
Public propertyStatic memberUnlockKey
Unlock key.
Public propertyVerify
Verify CD/DVD.
Public propertyVolumeLabel
Volume label of the CD/DVD.
Top
Methods
  NameDescription
Public methodBurn
Burns CD / DVD using the specified burner drive. The type of the disk is specified in the DiskType property.
Public methodBurnAudio
Burns audio CD using the specified burner drive.
Public methodBurnData
Burns data CD/DVD using the specified burner drive.
Public methodBurnDvdVideo
Burns video DVD using the specified burner drive.
Public methodBurnImage
Burns CD from image file using the specified burner drive.
Public methodBurnSuperVideo
Burns super video CD using the specified burner drive.
Public methodBurnVideo
Burns video CD using the specified burner drive.
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose
Releases all resources used by the Component.
(Inherited from Component.)
Protected methodDispose(Boolean)
Clean up any resources being used.
(Overrides ComponentDispose(Boolean).)
Public methodEject
Ejects the specified burner drive.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodErase
Erases rewritable using the specified burner drive.
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetNeroCmdLocation
Gets the current value of NeroCmd.exe's location used by the component.
Protected methodGetService
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOnError
Raises the Error event.
Protected methodOnSuccess
Raises the Success event.
Public methodSetNeroCmdLocation
Sets the location of NeroCmd.exe (including the name of the file).
Public methodToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Top
Events
  NameDescription
Public eventDisposed
Occurs when the component is disposed by a call to the Dispose method.
(Inherited from Component.)
Public eventError
Occurs when error occurred during the burning process.
Public eventSuccess
Occurs when data successfully burnt.
Top
See Also