none
write hex file by c# RRS feed

All replies

  •  tankao wrote:

    Is there any possible to write hex file with c# .  Hex file like this one http://en.wikipedia.org/wiki/.hex

     

    thank you in advance

    tankao

     

    Yes, it is very easy. You should use System.IO namespace with File class. You will use the method File.AppendAllText ( filePath, stringValue ); There are overloads. You may need to take care of some encoding perhaps.

     

    Also you will have to take care of all the formatting as well as Environment.NewLine at the end of each of your line.

     

    The formattig guide will be your wiki article.

    Sunday, April 27, 2008 4:10 PM