i'm saving a file using save file dialog..i want to pass that file into file stream..
System.IO.FileStream fs = (System.IO.FileStream)savedlg.OpenFile();
byte b=new byte[fs.length];
like this way...
i want to find the length of "fs". i want to pass it in to byte array..
but "fs.lengh" shows "0"....
how to get the original length of filestream