471,089 Members | 1,167 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,089 software developers and data experts.

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

I want to create a multi-stream file using C#,but System.IO.File.Create
method do not support this.
Nov 15 '05 #1
6 6118
大雁 <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
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
"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
大雁 <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
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
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.

Similar topics

5 posts views Thread by Will | last post: by
9 posts views Thread by angel | last post: by
5 posts views Thread by David Logan | last post: by
10 posts views Thread by Buck Rogers | last post: by
74 posts views Thread by Suyog_Linux | last post: by
4 posts views Thread by Martinfnp | last post: by
reply views Thread by Sean | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.