P
Pierre Drapeau
I am looking at a way to get the file type of a given file. The Windows API
has GetFileVersionInfo which will retreive that info, burried into a
structure. I tried to find the equivalent in C# and found
System.Diagnostics.FileVersionInfo. I see that the class has pretty much all
the information but the file type. Is there another class that will give me
the file type of a given file? I would prefer not using PInvoke and
GetFileVersionInfo, especially since I would have to write unsafe code.
Thanks, Pierre
has GetFileVersionInfo which will retreive that info, burried into a
structure. I tried to find the equivalent in C# and found
System.Diagnostics.FileVersionInfo. I see that the class has pretty much all
the information but the file type. Is there another class that will give me
the file type of a given file? I would prefer not using PInvoke and
GetFileVersionInfo, especially since I would have to write unsafe code.
Thanks, Pierre