473,324 Members | 2,268 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

CD Burning with C#

Hi all,

Is it possible to programmatically using C# burn a bunch of files in a
predefined location to CD-R ?
The application will be run in Windows 2000 environments. If it's possible,
I would like it NOT to use third party like Nero SDK, but only the main
Windows 2000 and VS.NET 2003.
I've googled and found samples for use with WinXP, Linux, KDE, etc etc, but
none are meant for Windows 2000?
I'll appreciate very much samples and help.
Thank you.

------------
Hendrik
Nov 15 '05 #1
4 10839

"Hendrik Christian" <he********@yahoo.com.sg> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
Hi all,

Is it possible to programmatically using C# burn a bunch of files in a
predefined location to CD-R ?
The application will be run in Windows 2000 environments. If it's possible, I would like it NOT to use third party like Nero SDK, but only the main
Windows 2000 and VS.NET 2003.
I've googled and found samples for use with WinXP, Linux, KDE, etc etc, but none are meant for Windows 2000?
I'll appreciate very much samples and help.
Thank you.
Short of writing your own ASPI\SPTI code, as well as filesystem generators,
you are out of luck. Windows XP includes IMAPI, which is a cd burning API,
but it is not available on anything before XP.
Third party is your best bet, they do all the testing and insure it will
work across any burner you run across. If your application is open source,
there may be a few free libraries out there, otherwise you'll have to
license something.

------------
Hendrik

Nov 15 '05 #2
You can do it, but here's what you'd have to go through:

1. Track down drivers for all the CD-R/CD-RW drives you want to
support (not a problem, most of them come with Windows 2000/XP) and
obtain documentation on how to program against them (the documentation
may be a bit difficult to find)

2. Build a new C# class library with a standard set of method calls to
read/write to communicate with the drivers using unmanaged API calls
(most drivers are written in native Assembly language or C). I'd build
this as a plug-in architecture, with the managed plug-in dll as a
wrapper around the target driver .dll. That way you can dynamicly add
support for new devices)

3. Test with all the supported devices.

This is no easy task, depending on how many drives you want to support
you could be out a lot of money and time on R&D. The problem is that
their isn't a standardized API yet, a similar problem existed for
video hardware before Microsoft began releasing DirectX. At this point
it just makes more sense to buy a third-party library for most
scenarios.

Developers of burning software such as Nero and Easy CD Creator has
painstakenly gathered all these drivers togeather
"Hendrik Christian" <he********@yahoo.com.sg> wrote in message news:<#s**************@TK2MSFTNGP09.phx.gbl>...
Hi all,

Is it possible to programmatically using C# burn a bunch of files in a
predefined location to CD-R ?
The application will be run in Windows 2000 environments. If it's possible,
I would like it NOT to use third party like Nero SDK, but only the main
Windows 2000 and VS.NET 2003.
I've googled and found samples for use with WinXP, Linux, KDE, etc etc, but
none are meant for Windows 2000?
I'll appreciate very much samples and help.
Thank you.

------------
Hendrik

Nov 15 '05 #3
Thanks Daniel and JDeats,

Is it possible to port the IMAPI driver (and all that are required and
available in WinXP) from WinXP to Win2K instead? Since as I understood the
underlying platform between Win2K and WinXP are quite similar.
Thank you.

Hendrik

"Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
news:e6**************@TK2MSFTNGP09.phx.gbl...

"Hendrik Christian" <he********@yahoo.com.sg> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
Hi all,

Is it possible to programmatically using C# burn a bunch of files in a
predefined location to CD-R ?
The application will be run in Windows 2000 environments. If it's possible,
I would like it NOT to use third party like Nero SDK, but only the main
Windows 2000 and VS.NET 2003.
I've googled and found samples for use with WinXP, Linux, KDE, etc etc,

but
none are meant for Windows 2000?
I'll appreciate very much samples and help.
Thank you.


Short of writing your own ASPI\SPTI code, as well as filesystem

generators, you are out of luck. Windows XP includes IMAPI, which is a cd burning API,
but it is not available on anything before XP.
Third party is your best bet, they do all the testing and insure it will
work across any burner you run across. If your application is open source,
there may be a few free libraries out there, otherwise you'll have to
license something.

------------
Hendrik


Nov 15 '05 #4
Frankly, it may be, but I don't think it would be legal.
"Hendrik Christian" <he********@yahoo.com.sg> wrote in message
news:eP****************@TK2MSFTNGP10.phx.gbl...
Thanks Daniel and JDeats,

Is it possible to port the IMAPI driver (and all that are required and
available in WinXP) from WinXP to Win2K instead? Since as I understood the
underlying platform between Win2K and WinXP are quite similar.
Thank you.

Hendrik

"Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
news:e6**************@TK2MSFTNGP09.phx.gbl...

"Hendrik Christian" <he********@yahoo.com.sg> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
Hi all,

Is it possible to programmatically using C# burn a bunch of files in a
predefined location to CD-R ?
The application will be run in Windows 2000 environments. If it's

possible,
I would like it NOT to use third party like Nero SDK, but only the main Windows 2000 and VS.NET 2003.
I've googled and found samples for use with WinXP, Linux, KDE, etc
etc, but
none are meant for Windows 2000?
I'll appreciate very much samples and help.
Thank you.


Short of writing your own ASPI\SPTI code, as well as filesystem

generators,
you are out of luck. Windows XP includes IMAPI, which is a cd burning API, but it is not available on anything before XP.
Third party is your best bet, they do all the testing and insure it will
work across any burner you run across. If your application is open source, there may be a few free libraries out there, otherwise you'll have to
license something.

------------
Hendrik



Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: cyberkoks | last post by:
Hi all, I have a problem, may be you are able to help me ;) We wrote an application that burns audio CDs and everything works fin (we're using IMAPI for burning). But if burn process finishes...
4
by: Albert Leibbrandt | last post by:
Hi Can anybody tell me which windows API or python module they are using for writing cd's / dvd's with python? Thanks Albert
1
by: Matt | last post by:
Morning all, I'm writing an app to speed up distribution of updates to remote users for some of our software. At the moment, it works like this: 1) CD Images (in the form of ISOs) exist in a...
4
by: =?Utf-8?B?Sm9hY2hpbQ==?= | last post by:
How can you easily burn CDs and DVDs using C# and .NET?
1
by: =?Utf-8?B?ZWxsYW52YW5uaW4=?= | last post by:
Hi I used to be able to send pictures or music to my CD-RW drive using Windows XP. Now I am unable to do this because when I right click to send to the drive it is not an option. Also I notice...
3
by: hambone2123 | last post by:
hi, im using windows vista and i tried burning a movie to dvd and when i play the dvd in my dvd player its in black and white and the screen jumps up and down what should i do
3
by: dmeglio | last post by:
Hello, I'm wondering if anyone out there is aware of any .NET CD/DVD burning component. I'm really just interested in burning files to CD/DVD do I don't care about MP3/MPEG-2 support or anything...
5
by: drabina | last post by:
Hi, I am looking for a way to burn CDs from VB.NET application. I have found a lot of posts asking about that but the links provided are mostly dead. There is IMAPI but as far as I know, it is...
1
by: =?Utf-8?B?cnNoZXBwMDY=?= | last post by:
im kinda new to burning dvds. im using windows dvd maker. i have gotten it to work and can play movie on my standalone dvd player. but when it displays on my tv the movie is scruched up . peoples...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.