get file name from stream c#

62

get file name from stream c# -

Stream stream = ...
FileStream fs = stream as FileStream;
if(fs != null) Console.WriteLine(fs.Name);

Comments

Submit
0 Comments