I'm working on accessing and manipulating file properties in windows 10.
following images shows properties of two files.
[
as yo can see, those file have different properties set.
and I'm working on add some extended properties. I referred to this answer and I tried with this, but failed with HRESULT... some error - unable to set property. I think those nuget are quite outdated and they do not work well, though reading properties work well. actually, the website that is written in Microsoft.WindowsAPICodePack-Shell
nuget is deprecated. :(...
Is there any approach to add some property to file? I googled a lot, but those are not available now in current version of windows 10. I can read property but can't write property.
I'll appreciate if you suggest a way that works in C#
.net framework solution(except UWP
- just Console
and WPF
). but if there are only a way raw C
language based-API, then don't hesitate to tell me. I'm going to use it, anyway.
Added
Microsoft Shell Controls And Automation also does not work.
msdn for Shell control and automation