Lance,
For XML files it should be relatively easy, as you can physically see the
format, and you could load the XML file into an XMLDocument or XPathDocument
and extract the type.
Unfortunately for binary serialization I do not believe the binary file
format is documented, so you will need to deserialize the file to find the
type.
Hope this helps
Jay
"Lance" <zi***@hotmail.com> wrote in message
news:0f****************************@phx.gbl...
Is there any way to determine the type of an object that
is stored as a serialized file without deserializing the
entire file? If possible, I'm interested in being able to
do this for both binary and XML files.
Thanks,
Lance