How to make custom file extension and encrypt?
I want :
1. write file that has my own file extension (example : .hwi) zip file
2. file format is zip file
3. but if user open that file with other zip program, that file crashed. but if user open that file with my program, that file will open successful
I try :
1. using chat GPT - fail
2. search
C# how to make custom file extension?
- fail3 Replies
If it's a zip file, it's a zip file
You can give it an
.ungabunga
extension, it will still be a zip file
What you're looking for is a custom file format perhapsYou could just slap your own encryption on top of zip. That would more or less give you what you want. Won't be entirely trivial thou
Can I ask why you would want to make such thing?