New course! Every coder should learn Generative AI!
Try a free lesson0
You can get the version of a file using
FileVersionInfo.GetVersionInfo which is in the system diagnostics namespace
https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.fileversioninfo.fileversion?view=netframework-4.7.2
Do text-file have a version ?
Or are the files you want to display not text-files ?