Click or drag to resize

ArchiveFileMaximumDataBlocks Method

Returns the number of ArchiveDataBlocks an ArchiveFile can have.

Namespace: GSF.Historian.Files
Assembly: GSF.Historian (in GSF.Historian.dll) Version: 2.4.207-beta
Syntax
public static int MaximumDataBlocks(
	double fileSize,
	int blockSize
)
View Source

Parameters

fileSize  Double
Size (in MB) of the ArchiveFile.
blockSize  Int32
Size (in KB) of the ArchiveDataBlocks in the ArchiveFile.

Return Value

Int32
A 32-bit signed integer for the number of ArchiveDataBlocks an ArchiveFile can have.
See Also