OPC Studio User's Guide and Reference
DefaultCopyBufferSize Field (IFileInfoExtension)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Extensions.FileProviders Namespace > IFileInfoExtension Class : DefaultCopyBufferSize Field
The default buffer size for copy operations. Equals to 81920 bytes.

The value of this constant is 81920.

Syntax
'Declaration
 
Public Const DefaultCopyBufferSize As Integer
'Usage
 
Dim value As Integer
 
value = IFileInfoExtension.DefaultCopyBufferSize
public const int DefaultCopyBufferSize
public:
const int DefaultCopyBufferSize
Remarks

This is the same size as used by System.IO.Stream.CopyTo(System.IO.Stream).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also