FileStream stream = new FileStream( fileName, System.IO.FileMode.Open ); BinaryReader reader = new BinaryReader( stream ); string text = Encoding.UTF8.GetString( reader.ReadBytes( (int)reader.BaseStream.Length ) );
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)