locked
How can i convert wav file into binary RRS feed

  • Question

  • i want to convert wav to binary

    please 

    Monday, August 29, 2011 1:56 AM

Answers

  • Hello samar

     byte[] bytes = System.IO.File.ReadAllBytes("C:\\MyFileName.wav");
    

     


    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    • Proposed as answer by Adavesh Monday, August 29, 2011 8:06 AM
    • Marked as answer by samar adel ahmed Tuesday, August 30, 2011 12:10 AM
    Monday, August 29, 2011 7:12 AM

All replies

  • Hello samar

     byte[] bytes = System.IO.File.ReadAllBytes("C:\\MyFileName.wav");
    

     


    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    • Proposed as answer by Adavesh Monday, August 29, 2011 8:06 AM
    • Marked as answer by samar adel ahmed Tuesday, August 30, 2011 12:10 AM
    Monday, August 29, 2011 7:12 AM
  • Please feel free to let us know if you need further support later.

    Thanks,


    Larcolais Gong[MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, September 12, 2011 2:36 AM