FilesGetBlocksCount(String, Int32) Method

Gets the number of blocks based on the length of a file and the size of each block.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static int GetBlocksCount(
	string path,
	int blockLength
)

Parameters

path  String
File path.
blockLength  Int32
Length of each block

Return Value

Int32
Int32 with the number of blocks based on the length of a file and the size of each block.

See Also