What is the fastest way for a .NET program to index all images on a user's computer?

What is the fastest way for a .NET program to index all images on a user's computer?

Using Open Source.Net Libs and .Net custom classes.

In a good way for XP sp3, ..., Windows 7

  • Fastest - Configuration of the same PC, different time (in seconds)

  • .Net program - better C #

  • To index, get a list of absolute links (for example, c: // bla-bla / file) and save them in a file (index.txt)

  • All images (e.g. JPEG, PNG, BMP)

+3
source share
4 answers

Directory.GetFiles(), .

, , ( ).

.NET 4 "" GetFiles(), .

. , , , , .

+8

- . , Windows .

.NET, , Windows API.

+4

; - , . , , , , . file.

, " watch ' .

IO-, , .

+2

Source: https://habr.com/ru/post/1748910/


All Articles