title: Playing byte[] in C#
body: <p>The concept behind this program I am trying to make is a novelty audio encryption application. I have very little experience in using the audio libraries within C#. I am trying to record sound which will then be converted to a byte[] in order to undergo some encryption. This will then be saved in a .wav format. I will then need to read in the encrypted audio file and convert this to a byte array to decrypt and then play the decrypted byte array. I know it would be easier to save the file first before performing the encryption/decryption but I don't want an unencrypted version to be saved.</p>
  
  <p>What is the best way/libraries in order to firstly convert the recorded audio to the byte[] and then save. Finally what is the best way to go about playing the decrypted byte[]. Any code / pseudo code would be appreciated.</p>
  
  <p>Thanks</p>