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
Source=UsbEject
StackTrace:
at UsbEject.Library.DeviceClass.get_Devices() in usbeject-master\DeviceClass.cs:line 89
InnerException: