I need to modernize some file I/O helper code from .NET 4.x to .NET 7, and in particular, a method to read Extended File Attributes. In the past, using Shell32 was regarded as a "necessary evil" to dive into file metadata.
Is there a more modern way to pull Extended File Attributes using .NET 7 and C#? For example, getting the "Date taken" information from a photo?
Thanks in advance for your help.
There is no modern API (at least out-of-the-box). There is a proposal to add such an API https://github.com/dotnet/runtime/issues/49604