Method CopyStreamSafe
CopyStreamSafe(Stream, string)
Safely copies the content of a stream to a file at the specified destination path. Returns true if the operation succeeds, otherwise false.
public static bool CopyStreamSafe(Stream stream, string destPath)
Parameters
Returns
- bool
True if the copy operation succeeds, otherwise false.