Click here to Skip to main content
15,889,595 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
If you are using Windows, and if you right click on a JPEG file, choose Properties, and click the Details tab, you can add/remove/update "Tags".

You can also retrieve those tags with a PowerShell script that exploits the Shell, calling IShellFolder2::GetDetailsOf().

What I really want though, is a way to add/remove/update those tags from my C#/ASP.NET application. So as a user uploads their photo into the web app, it is tagged with a super special secret code that identifies the photo to our Digital Asset Management (third party) software, and our PowerShell scripts (in house) that climb the directory looking for those tags.

Any help is much appreciated.
Thanks
Posted

1 solution

It's called EXIF data, and there is a good library to handle it here: ExifLibrary for .NET[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900