Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Advanced file properties

Advanced file properties

Scheduled Pinned Locked Moved C#
tutorialcsharpquestionannouncement
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    HahnTech
    wrote on last edited by
    #1

    How to gain access to advanced file properties? For example, I want access to file version Other Version Information comments. Or file summary title and comments. I was hoping FileInfo would have that but from what I can see it doesn’t Thanks

    Ronald Hahn, CNT - Computer Engineering Technologist New Technologies Analyst HahnTech Affiliated With Code Constructors Edmonton, Alberta, Canada Email: rhahn82@telus.net

    N 1 Reply Last reply
    0
    • H HahnTech

      How to gain access to advanced file properties? For example, I want access to file version Other Version Information comments. Or file summary title and comments. I was hoping FileInfo would have that but from what I can see it doesn’t Thanks

      Ronald Hahn, CNT - Computer Engineering Technologist New Technologies Analyst HahnTech Affiliated With Code Constructors Edmonton, Alberta, Canada Email: rhahn82@telus.net

      N Offline
      N Offline
      Nader Elshehabi
      wrote on last edited by
      #2

      Hello I think you are talking more bout metadata? They are stored in the filestream itslef. In the Audio section[^] you'd find to articles about extracting metadata.

      Regards:rose:

      H 1 Reply Last reply
      0
      • N Nader Elshehabi

        Hello I think you are talking more bout metadata? They are stored in the filestream itslef. In the Audio section[^] you'd find to articles about extracting metadata.

        Regards:rose:

        H Offline
        H Offline
        HahnTech
        wrote on last edited by
        #3

        Well the stuff over in audio is specific to WMF so it's not much help. I’m looking for metadata from NTFS. I’ve googled ‘file properties dialog’ ‘ntfs metadata’ and many other combinations and synonyms of these phrases. All I want to do is programmatically right click on an exe and view its version info. Thanks though. I can't belive this is so hard. It was supose to be a QnD utility Ron

        Ronald Hahn, CNT - Computer Engineering Technologist New Technologies Analyst HahnTech Affiliated With Code Constructors Edmonton, Alberta, Canada Email: rhahn82@telus.net

        N 1 Reply Last reply
        0
        • H HahnTech

          Well the stuff over in audio is specific to WMF so it's not much help. I’m looking for metadata from NTFS. I’ve googled ‘file properties dialog’ ‘ntfs metadata’ and many other combinations and synonyms of these phrases. All I want to do is programmatically right click on an exe and view its version info. Thanks though. I can't belive this is so hard. It was supose to be a QnD utility Ron

          Ronald Hahn, CNT - Computer Engineering Technologist New Technologies Analyst HahnTech Affiliated With Code Constructors Edmonton, Alberta, Canada Email: rhahn82@telus.net

          N Offline
          N Offline
          Nader Elshehabi
          wrote on last edited by
          #4

          Hello In your original post you mentioned Summary and title which are called metadata and are specific to audio/video files only. I thought you were talking about them -sorry!:->-. If you want to get the versions info of exe files only you should use FileVersionInfo class instead.

          Regards:rose:

          S H 2 Replies Last reply
          0
          • N Nader Elshehabi

            Hello In your original post you mentioned Summary and title which are called metadata and are specific to audio/video files only. I thought you were talking about them -sorry!:->-. If you want to get the versions info of exe files only you should use FileVersionInfo class instead.

            Regards:rose:

            S Offline
            S Offline
            Squeaker
            wrote on last edited by
            #5

            I believe that what you are looking for are called "Extended File Properties". I think you can get some useful info on Google. I used to have a VB6 program that (I didn't write it) that would extract the extend file properties. I looked, but couldn't find it. Google had many hits. If you find something good, please post the link. Best regards- Squeaker

            1 Reply Last reply
            0
            • N Nader Elshehabi

              Hello In your original post you mentioned Summary and title which are called metadata and are specific to audio/video files only. I thought you were talking about them -sorry!:->-. If you want to get the versions info of exe files only you should use FileVersionInfo class instead.

              Regards:rose:

              H Offline
              H Offline
              HahnTech
              wrote on last edited by
              #6

              Thanks for the FileVersionInfo Tip. I think that will do the trick. It also returns the coments and other info I'm looking for. Right click on any file->proporties->summery and this class gives you access to all that. That was what i'm looking for. I woldn't have thought to look at FileVersionInfo FileInfo seemed like the right one Oh well Thanks again

              Ronald Hahn, CNT - Computer Engineering Technologist New Technologies Analyst HahnTech Affiliated With Code Constructors Edmonton, Alberta, Canada Email: rhahn82@telus.net

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups