Search a file in all directories with c# : I have a question. I need to find the file also return the address of the file. I already tried but it does not work. Do you have any idea how to do this?

I was using this code:

     var files = new List<string>();
         //@Stan R. suggested an improvement to handle floppy drives...
         //foreach (DriveInfo d in DriveInfo.GetDrives())
         foreach (DriveInfo d in DriveInfo.GetDrives().Where(x => x.IsReady == true))
         {
            files.AddRange(Directory.GetFiles(d.RootDirectory.FullName, actualFile, SearchOption.AllDirectories));
         }

Please, help me.