Thursday, January 18, 2007

Creating Ascii text file from C#

//Creating Ascii text file from C#
// byte[] messagebyte = Encoding.ASCII.GetBytes("naviputti@321");
// FileStream fwrite = new FileStream("C:\\temp\\na.txt",FileMode.Create);
//
// //fwrite.WriteByte((byte)messagebyte.Length);
// fwrite.Write(messagebyte,0,messagebyte.Length);
// fwrite.Close();

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home