package a folder into a file in C#?

Hi there!
Can we package a folder into a file with C#?
If yes, who can show me the solution or any sample code?
Thank you very much!

Comments

  • : Hi there!
    : Can we package a folder into a file with C#?
    : If yes, who can show me the solution or any sample code?
    : Thank you very much!
    :
    Psuedo:
    [code]
    open outputfile
    foreach file in input dir
    open infile
    add all data to output file (maby compress to)
    close infile
    end foreach
    close outfile
    [/code]
    wasn't to hard...

    [b]Niklas Ulvinge[/b] [white]aka [b]IDK[/b][/white]

  • : : Hi there!
    : : Can we package a folder into a file with C#?
    : : If yes, who can show me the solution or any sample code?
    : : Thank you very much!
    : :
    : Psuedo:
    : [code]
    : open outputfile
    : foreach file in input dir
    : open infile
    : add all data to output file (maby compress to)
    : close infile
    : end foreach
    : close outfile
    : [/code]
    : wasn't to hard...
    :
    : [b]Niklas Ulvinge[/b] [white]aka [b]IDK[/b][/white]
    :
    :
    I think in C# have some API to do that.
    Thanks again!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion