First off, let me say that I know how to set up the system so that my program will open the selected file. That given, I have a question, probably a dumb one, but a question. When you open an exe or a zip file in notepad, you nottice at the beginning of the file that there are letters saying what type of file this is, zip is PK and exe is MZ. I know that this is part of the headers. Is there a way to do this also while serializing an object or will I have to edit the file separately from the serializer? I want to do this so that the app will be able to determine if it can open the file by looking at the first byte or two. Thank you.
!--removed tag-->
No one has replied yet! Why not be the first?
Sign in or Join us (it's free).