|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Programmatically Safely Removing USB Hard DriveIs there a .Net internally supported way to identify Removable devices and
USB hard drives and then programmatically "eject"/"Safely Remove" them? Or do I have to go out to Win32 SDK, etc.? Alex I have not done this myself, but you can do a search on Removable Storage Management (RSM) APIs to accomplish this. And no, this does not exist inherently in the framework.
HTH Altaf -------------------------------------------------------------------------------- All that glitters has a high refractive index. www.mendhak.com "Alex Maghen" <AlexMaghen@newsgroup.nospam> wrote in message news:FB0F15ED-2438-4B77-84B3-0F5458ADC3F2@microsoft.com... Is there a .Net internally supported way to identify Removable devices and USB hard drives and then programmatically "eject"/"Safely Remove" them? Or do I have to go out to Win32 SDK, etc.? Alex Hi Alex,
Your question has been answered by "Kellie Fitton" in microsoft.public.win32.programmer.ui newsgroup, please check there. Thanks Best regards, Jeffrey Tan Microsoft Online Partner Support Get Secure! - www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights. |
|||||||||||||||||||||||