Howdy, Stranger!

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

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

package a folder into a file in C#?

gyokuseigyokusei Posts: 7Member
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

  • IDKIDK Posts: 1,784Member
    : 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]

  • gyokuseigyokusei Posts: 7Member
    : : 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.