query
returns specific information about a stream.
Except for HANDLE and SEEK/POSITION,
the stream returns the query information even if the stream is not open.
A null string is returned for nonexistent streams.
stream~query("datetime")
11-12-15 03:29:12
stream~query("exists")
c:\data\file.txt
stream~query("handle")
3
stream~query("position write")
247
stream~query("size")
1305
PERSISTENT,
TRANSIENT, or
UNKNOWN.
stream~query("timestamp")
2015-11-12 03:29:12