İpucu

[DllImport("winmm.dll", EntryPoint="mciSendStringA")] public static extern int cdrom (string lpstrCommand, string lpstrReturnString, int uReturnLength, int hwndCallback); CD-ROM’u açmak için cdrom("set CDAudio door open",null, 127, 0); CD-ROM’u kapamak için cdrom("set CDAudio door closed",null, 127, 0);