Hi Dw

There is a project I'm doing but I'm doing it in VB.NET I want to know now how can I write a program in jave that will govern the CD-RW and if the disc is inserted on let say a DVD player the program will detect that the disc is inserted on a dvd player and if the disc is inserted on a playstation it will also detect that now it is running on a playstation and lastly if it is inserted to the computer/laptop it will detect that now it is inserted on a pc, I know that java is powerful and I think it can do this task just the detection at this point I need.

Any one with an idea on how I can do this?

Also as this program will be governing the disc it has to prevent or un-allow formating of the disc as it will be a RW disc