Click or drag to resize

DownloadConfigurationMaximumMemoryBufferBytes Property

Gets or sets the maximum amount of memory, in bytes, that the Downloader library is allowed to allocate for buffering downloaded content. Once this limit is reached, the library will stop downloading and start writing the buffered data to a file stream before continuing. The default value for is 0, which indicates unlimited buffering.

Namespace: Downloader
Assembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public long MaximumMemoryBufferBytes { get; set; }

Property Value

Int64
Example
The following example sets the maximum memory buffer to 50 MB, causing the library to release the memory buffer after each 50 MB of downloaded content: MaximumMemoryBufferBytes = 1024 * 1024 * 50
See Also