I would like to know how can i read the header of all sort of of files.
to be more specific, i want to write a function in c# that returns header of any local file.
I wanna call it like this
and that returns me full header information and data context, both as string.
Then I want to store two information on DB or somewhere else to create files whenever i want with header and context info.
How can i do this from the easiest way?
Thanks a lot in advance,