How to put 0x0D 0x0A at the end of a txt file

0

I have the code end of my txt file below and according to the recipe manual, asks me to put the characters 0x0D 0x0A at the end of the registration.

How could I do this?

ATT01 = DETIM.ValidaATT(item.Cells["att"].Value.ToString()).PadRight(17, ' ');
ATT01 =   ATT01.Substring(0, ATT01Const);
Filler1 = Tamanho01.ToString().PadRight(2, ' ');
Filler1 = Filler1.Substring(0, Filler1const); //Acho que deveria ser colocado aqui mas não sei como!!
    
asked by anonymous 24.02.2016 / 21:57

1 answer

2

According to This table

What you need is to add at the end of your file the following string : \r\n

    
25.02.2016 / 13:19