removable-storage
Listing all USB drives in Linux
How can I get a list 开发者_如何学JAVAof removable drives (plugged into USB) in Linux?I\'m fine with using KDE, GNOME or other DE libraries if it would make things easier.I think a nice idea is to use[详细]
2023-03-03 23:04 分类:问答How to turn off encrypting of .sln files in Visual Studio on removable drive?
Problem description: (occurs at least in VS2005 and VS2008, not tested in VS 2010) If project (e.g. .csproj) or solution file (.sln) is opened from removable drive, and something happens ... seems li[详细]
2023-02-27 00:13 分类:问答Detect Removable Media Ejection Request in Windows Service
I have a Windows service written in C# with the .NET 2.0 framework that uses the FileSystemWatcher to monitor 开发者_如何学Gocertain directories for changes. Some of these directories may be on remova[详细]
2023-02-06 16:41 分类:问答How to eject a USB removable disk/volume, similar to the "Eject" function in Windows Explorer?
Do you know what is the API, or sequence of API calls that windows uses to accomplish the \"Eject\" functi开发者_如何学Goon which is available on the shell context menu for removable volumes?[详细]
2023-01-20 10:08 分类:问答Searching for SD-cards
I need to implement searching for SD-cards in my program. Currently I\'m using search for all removable devices like:[详细]
2022-12-23 15:26 分类:问答Accessing removable drive in a terminal services session
I have a tray application that registers with the shell to receive notifications when a drive is added to the system or when media is inserted into a drive (via SHChangeNotifyRegister).Upon receipt of[详细]
2022-12-21 21:21 分类:问答How to find the unique serial number of a flash device?
I\'ve found several snippets and .pas files that can detect when USB flash drives are inserted and removed. Some give all kind of good information, however what I need is the devices\' unique serial n[详细]
2022-12-14 14:42 分类:问答The best way to always detect a removable device
In my previous question \"How to find the unique serial number of a flash device?\" I ended up asking for a way to get the drive letter. That problem is solved.[详细]
2022-12-14 12:37 分类:问答Get notification when a new drive is connected via USB or other means (C#)
I need to detect when a new drive is plugged into a Windows system through a USB port, firewire port, etc. I am aware of the WM_DEVICECHANGE mess开发者_如何学Goage, but this requires a window to be op[详细]
2022-12-12 01:29 分类:问答How to stop application from executing
I am working on a project to prevent applications from being launched from removable devices. Does anyone out there know how i can do this? Preferrably in C++ on the Windows platform.[详细]
2022-12-11 04:28 分类:问答