Who knows C# support multi-stream file or not?

  • Thread starter Thread starter ´óÑã
  • Start date Start date
´

´óÑã

I want to create a multi-stream file using C#,but System.IO.File.Create
method do not support this.
 
´óÑã said:
I want to create a multi-stream file using C#,but System.IO.File.Create
method do not support this.

Could you specify *exactly* what you mean by a multi-stream file? It's
not a name I'm familiar with, but it could be that I know about the
concept under a different name.
 
NTFS5 support multiple file stream . this means one file can contain
multiple stream. the content of the file is actually the main stream
(unnamed),and other streams(can be named) can be created but commonly not
display in Windows UI, except File Summary Information in NTFS . File
Summary Information is an example of extension stream(in NTFS,open file
property page ,and select "Summary").
I just want to create a extension stream in a common file using C#.I have
accomplished this using vbs.

for more information about multiple file stream,visit this:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfiles/htm
l/ntfs5.asp
 
´óÑã said:
NTFS5 support multiple file stream . this means one file can contain
multiple stream. the content of the file is actually the main stream
(unnamed),and other streams(can be named) can be created but commonly not
display in Windows UI, except File Summary Information in NTFS . File
Summary Information is an example of extension stream(in NTFS,open file
property page ,and select "Summary").
I just want to create a extension stream in a common file using C#.I have
accomplished this using vbs.

Right... thanks very much for the information. Always good to learn
more stuff :) Sorry I couldn't actually help in the end...
 
Hai,

I think C# (more specifically CLR) is built on WIN32 subsystem.
Multi Stream Files is a concept in WINNT based systems.


Bye
kartik
 
He means compound documents, ala Ole documents (word, excel, office
binder, etc) where several distinct data streams can exist in one
file.

I don't think it's so much a stream object issue as it is a data
structure issue. I'm sure that at the lowest level, there's still a
standard file stream object doing the actual reading and writing, and
inside it's probably just a serialized container. You can simulate
your own by putting several different objects into a hashtable or
other collection and serializing that.

I do that all the time for data containment, etc.
 
Back
Top