Stream Reader Problem
- by narmadha
Hi,
I am using StreamReader in C#.net for reading RTF files.
It was working, but after certain time, it's not working. Can anyone help me?
My Code is:
StreamReader reader = new StreamReader(AppDomain.CurrentDomain.BaseDirectory
+ @"\Features.rtf");
string strfeatures = reader.ReadToEnd();
Now i am getting the following content in strfeatures i.e.
{\rtf1\ansi\ansicpg1252\deff0\deflang2057{\fonttbl{\f0\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.15.1515;}\viewkind4\uc1\pard\f0\fs20\par
}
I don't know why?
Can anyone help me?