usbeject icon indicating copy to clipboard operation
usbeject copied to clipboard

C# code to safely eject removable storage (Windows 8.1, compiled 32-bit) as of 2015

Results 6 usbeject issues
Sort by recently updated
recently updated
newest added

Hi, I have Windows 8.1 professional OS. I've downloaded UsbEject library and created simple winforms project. And I have lots of errors with native method calls. One of error is...

While using your code, and attempting to eject a USB drive (that has been being used for writing a zip file) the Eject function throws an exception. I think here...

When attempting to use this on Windows 10 64 bit I get an exception: System.ComponentModel.Win32Exception occurred ErrorCode=-2147467259 HResult=-2147467259 Message=The supplied user buffer is not valid for the requested operation NativeErrorCode=1784...

Currently this project is built against .NET 4.5. If instead it was built against .NET 4 then it would be compatible with Windows Server 2003 / Windows XP - with...

It would be handy to be able to include this via NuGet. Thanks, Chris.

I am developing a tool for my company which analyses every USB device plugged to the system and if it doesn't fulfill some criteria , it is ejected automatically. Doing...