fileStreamreader = new FileStream(filePath, FileMode.Open, FileAccess.ReadWrite); try { int length = (int)fileStreamreader.Length; buffer = new byte[length]; fileStreamreader.Read(buffer, 0, buffer.Length); fileStreamreader.Close(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)