I am trying to read a file to a string..
But only reads the first characters and it stops
I am trying to read a world of warcaft cache file to make a database.Code:public class ItemReader { public string ReadWDF(string Location) { string ret = ""; StreamReader _Reader = new StreamReader(Location); string _Contents = _Reader.ReadToEnd(); if (_Contents != "") { ret = _Contents; return ret; } else { return ret; } } }





Reply With Quote