Can you be more detailed what you mean or try to achieve?
Because getting some "file information" stored in a stream is basically the same like getting information from an external file. The only difference is that you need to "locate" and "extract" the file from the stream.
So did you create the stream yourself? Or is it some unknown data format? Because if you created the stream yourself you should know the properties (like position and size) of the files / data you store?
Or do you mean how to "read" from a
TMemoryStream
or
TFileStream
? If yes, then look up
TStream.Read
.