CD/DVDROM Eject using C#
This is a tutorial in which we will going to create a program that will eject the CDROM or DVDROM using C# only.
Now, let's start this tutorial!
1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application and name the project CD eject.
2. Right Click ToolBox, click Choose Items, in the Com Components Tab, check "Windows Media Player" and then click Ok.
3.