Click here to Skip to main content
16,018,158 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi.

I want to know how can i embed and extract a file at runtime?

I want that at runtime only please.

Thanks.
Posted

Posting answers to yourself is not smart. It looks like four people have helped you, so I almost didn't bother looking. Also, if you press 'answer', why would you post something that is not an answer ? Edit your post.

You can embed anything you like as a resource, and it will exist as a blob of data. There's no reason you can't then load it into a byte array and write it to the file system.
 
Share this answer
 
DreamsDotNet wrote:
I want to know how can i embed and extract a file at runtime?


Please try and explain a bit more what you are trying to achieve, as your question is not very clear.
 
Share this answer
 
Are you talking about encrypting the file content.
 
Share this answer
 
OK.
I want to embed a file into my app at runtime, as example embedding a text file into my app or any file and extract it to hdd too, and I want to do this steps at runtime only.

thanks.
 
Share this answer
 
Somebody help me, please!
:((
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900