You should try the com interface for accessing tag information on files - How to access tag information on office files via C#
Enumerate files from a folder based on tags/keywords
-
30-08-2022 - |
Domanda
In Windows, tags can be associated with files (docx, png, jpg, etc.).
How can I enumerate the files that are tagged with a specific keyword. C#.
I am looking for something like Directory.EnumerateFiles(directory, "*", "tag1")
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow