S
S
Sergey2018-02-16 14:05:05
USB
Sergey, 2018-02-16 14:05:05

How to track the events of work with the drive?

How can I intercept events of work (read / write) with an external drive (USB, eSATA, etc.)?
From what I found, only examples of connecting / removing a device from a usb port.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Arxont, 2018-02-16
@arxont

https://msdn.microsoft.com/ru-ru/library/system.io...
To work specifically with the external one, the examples you found will be required to subscribe to events via FileSystemWatcher when connected, and to unsubscribe from extraction.

S
Sergey, 2018-02-17
@snovik

This class looked, but it will not show the fact of reading, only writing, changing, deleting.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question