I study C # and write a music player right away (I came up with this task for myself to train myself). I use pictures for the buttons, which are very many. Pictures for each button in separate folders. How to implement the following: create an archive, for example with the .data extension, in which there will be data folders with pictures and images for buttons will be taken from there when the program is running? Well, it is desirable that this archive could not be opened by the WinRar archiver. Tell us more about how this is implemented and if you can give an example.

  • one
    Why is this? Resources to use in any way? - MihailPw
  • @ AGS17 I get more than 200 pictures and a lot of other files. I want to streamline them in such a way that in the future it would be easy to work with them. How do resources work? will not need to store pictures and files in the program folder? - Sanvirtus
  • Use any installer - Alex78191
  • one
    @ Alex78191 What does "some kind of installer mean?" - Sanvirtus
  • You can use resx - Alex78191

1 answer 1

If you want no one to get the info from your file, then think up your own format in which you will store your binary data. Theoretically, it is very difficult to pull data from such a file, but there will always be craftsmen. But it's all a waste of time and effort. There are standard tools for storing images in WinForms, AGS17 offered you to store it in resources.