Hi,
"DriveDetector();" work with "using Dolinay;", but "Dolinay" is only in Framework 2.0
Now i work with Framework 3.5.
How i can run "DriveDetector();" in FW 3.5?
Hi,
"DriveDetector();" work with "using Dolinay;", but "Dolinay" is only in Framework 2.0
Now i work with Framework 3.5.
How i can run "DriveDetector();" in FW 3.5?
I believe you are referring to Jan Dolinay's "Detecting USB Drive Removal in a C# Program"? This is not part of the .NET framework to my knowledge. In addition, the CodeProject download contains only the DriveDetector.cs file, which defines the Donlinay namespace; so there probably is not an external library your project needs...
All you need to do is add this file to your project. If you have lost it, just download it again, then add it to your project: http://www.codeproject.com/KB/system/DriveDetector.aspx
Thanks ;)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.