Mono.Posix.Stat.Blocks Field
Blocks gives the size of the file in 512-byte blocks.

Syntax

[System.Obsolete("Use Mono.Unix.Native.Stat.st_blocks")]
public readonly long Blocks

Remarks

This may be smaller than Size/512 e.g. when the file has holes.

Requirements

Namespace: Mono.Posix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0