Class StorageEventManager
- Namespace
- nanoFramework.System.IO
- Assembly
- System.IO.FileSystem.dll
Event manager for Storage events.
public static class StorageEventManager
- Inheritance
-
StorageEventManager
- Inherited Members
Events
RemovableDeviceInserted
Event that occurs when a Removable Device is inserted.
public static event RemovableDeviceEventHandler RemovableDeviceInserted
Event Type
Remarks
The StorageEventManager class raises RemovableDriveEventArgs events when Removable Devices (typically SD Cards and USB mass storage device) are inserted and removed.
To have a StorageEventManager object call an event-handling method when a RemovableDeviceInserted event occurs, you must associate the method with a RemovableDeviceEventHandler delegate, and add this delegate to this event.
RemovableDeviceRemoved
Event that occurs when a Removable Device is removed.
public static event RemovableDeviceEventHandler RemovableDeviceRemoved
Event Type
Remarks
The StorageEventManager class raises RemovableDriveEventArgs events when Removable Devices (typically SD Cards and USB mass storage device) are inserted and removed.
To have a StorageEventManager object call an event-handling method when a RemovableDeviceRemoved event occurs, you must associate the method with a RemovableDeviceEventHandler delegate, and add this delegate to this event.