Hi Folks
Bit new at this C# game so be nice ...
I'd like my piece of code to keep searching for the F:\ drive on my PC, and if it finds it, perform an action. I've tried using the GetLogicalDrives() command and was able to assign all logical drive letters to an array as follows:
string[] drives = System.IO.Directory.GetLogicalDrives();
That seems a logical idea to me. I've got a bit stuck now. How can I search the array for the F:\ drive or am I completely wrong here?!
Cheers,
Kenny.
Bit new at this C# game so be nice ...
I'd like my piece of code to keep searching for the F:\ drive on my PC, and if it finds it, perform an action. I've tried using the GetLogicalDrives() command and was able to assign all logical drive letters to an array as follows:
string[] drives = System.IO.Directory.GetLogicalDrives();
That seems a logical idea to me. I've got a bit stuck now. How can I search the array for the F:\ drive or am I completely wrong here?!
Cheers,
Kenny.