Click here to Skip to main content
15,912,504 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm doing a project in c shrp which requires me to encrypt a wave file. So, is there a straight forward process to convert a wave file into binary and back? I'll be applying an encryption algorithm on the binary data.
Posted

1 solution

All files are in binary. That's how computer storage works.

But the simplest way of reading it in for encryption would probably be System.IO.File.ReadAllBytes[^] (I'd link you to Microsoft's documentation for it but MSDN is down today).
 
Share this answer
 
v2

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