Gets a value indicating the recommended buffer size for a stream copy operation.
Parameters
- session
- A reference to a FileSystemEventsSession object which is responsible for raising all events that occur during the process. Can be null.
- sourceStream
- A Stream object from which data will be read. Can be null.
- destinationStream
- A Stream object to which data will be written. Can be null.
- destinationFile
- A FileSystemItem object into which the file will be copied. Can be null.
Return Value
An integer value indicating the recommended buffer size for stream copy operations.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2