Click or drag to resize

Utils_FileCopyFileFromStream Method

Sets a stream content to a file without affecting the given stream.

(Because the given stream is copied).

Namespace:  MicaSystems.Utils
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
public static void CopyFileFromStream(
	FileInfo file,
	Stream inputStream,
	bool overwrite = false
)

Parameters

file
Type: System.IOFileInfo
inputStream
Type: System.IOStream
overwrite (Optional)
Type: SystemBoolean
See Also