By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,686 Members | 1,603 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,686 IT Pros & Developers. It's quick & easy.

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

P: n/a
I want to create a multi-stream file using C#,but System.IO.File.Create
method do not support this.
Nov 15 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
大雁 <ba******@tom.com> wrote:
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.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
Nov 15 '05 #2

P: n/a
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/de...us/dnfiles/htm
l/ntfs5.asp

"Jon Skeet" <sk***@pobox.com> 写入消息新闻
:MP************************@news.microsoft.com...
大雁 <ba******@tom.com> wrote:
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.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too

Nov 15 '05 #3

P: n/a
"Jon Skeet" <sk***@pobox.com> wrote in message
news:MP************************@news.microsoft.com ...
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.


http://www.microsoft.com/technet/pro...c_fil_xurt.asp
http://www.codeproject.com/csharp/ntfsstreams.asp
Nov 15 '05 #4

P: n/a
大雁 <ba******@tom.com> wrote:
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...

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
Nov 15 '05 #5

P: n/a
Hai,

I think C# (more specifically CLR) is built on WIN32 subsystem.
Multi Stream Files is a concept in WINNT based systems.
Bye
kartik
Nov 15 '05 #6

P: n/a
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.

Jon Skeet <sk***@pobox.com> wrote in message news:<MP************************@news.microsoft.co m>...
大雁 <ba******@tom.com> wrote:
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.

Nov 15 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.