Check the Length
property of the stream.
Length represents the number of bytes currently in the file.
If it is 0, the file is empty.
Check the Length
property of the stream.
Length represents the number of bytes currently in the file.
If it is 0, the file is empty.