Rusty Nail
Rusty Nail

Reputation: 2710

Suppress "No Disk Error" programatically using System.Diagnostics.CodeAnalysis.SuppressMessage

I have a small application, it reads a DVD Rom Disk, and scans for bad sectors, or un-readable areas on the disk.

My small app is designed to tell the user where to look, to identify damage/scratches to the surface.

I have been getting the dreded error: No Disk Error

enter image description here

I would like to know, if anyone can suggest, the declaration:

[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("???", "???")]

could be used to suppress this error, and if so, how I may find out how to use this better?

Upvotes: 0

Views: 27

Answers (0)

Related Questions