Does Anyone know how to change 1st 2 char of a file (AVI file) with each other inorder not to be playable by Media player ? ( i want to use this for some kind of AVI lock)?
Make a StreamReader and read the file to the end with .ReadToEnd and put this into a character array.
Then, switch the first two elements of the string and then write them back to the file with a StreamWriter. Hopefully that will work.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.