473,379 Members | 1,511 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 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 6243
´óÑã <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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Will | last post by:
Is there multi-media support in Python? So I can... 1 - play video in all the standard formats... windows & Mac? 2 - play flash files 3 - Power Point 4 - Standard graphic formats 5 - Sound in...
9
by: angel | last post by:
Hi Java and cpp support one function name multi function prototype. For example: A: int func1(String s){} int func1(int i){} B: int func1(String s){}
188
by: Ilias Lazaridis | last post by:
I'm a newcomer to python: - E01: The Java Failure - May Python Helps? http://groups-beta.google.com/group/comp.lang.python/msg/75f0c5c35374f553 - I've download (as suggested) the python...
5
by: David Logan | last post by:
Hello, I don't know if this is the best place to ask this question but if its not I'm sure someboy will tell where is. I am taking a website that has been developed for IE browsers running on...
10
by: Buck Rogers | last post by:
Hi guys! Does anyone have a link to a site that provides up to date programming book reviews? I looked through the reviews at: http://www.accu.org/bookreviews/public/index.htm ...
74
by: Suyog_Linux | last post by:
I wish to know how the free()function knows how much memory to be freed as we only give pointer to allocated memory as an argument to free(). Does system use an internal variable to store allocated...
4
by: Ersin Gençtürk | last post by:
Server : WEB System.Web.HttpUnhandledException: Exception of type System.Web.HttpUnhandledException was thrown. ---> System.Web.HttpException: The View State is invalid for this page and might be...
1
by: bissatch | last post by:
Hi, I am trying to create a multi column layout using a combination of div's and CSS. My layout requires four columns, two fixed width and two percentages. It also needs to stretch the length...
4
by: Martinfnp | last post by:
Hello all, I'm completely new in theory of C compiler and it's support for multi-core hardware. Does anybody know whether compiler for multi-core and SMP/AMP/BMP does need some special internal...
0
by: Sean | last post by:
Does anyone know of a preferrably-free PHP calendar with multi-day support that shows events spanning days? I can find plenty of calendars that show multi-day events by adding an event block to...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.