Table of Contents

Class SizeInfo

Namespace
ToSic.Eav.Apps.Assets
Assembly
ToSic.Eav.Apps.dll

Size information for files

[PublicApi]
public class SizeInfo
Inheritance
SizeInfo

Remarks

Added in v14.04

Properties

BestSize

Best size based on the number. Will be in KB, MB or GB. The unit is found on BestUnit

public decimal BestSize { get; }

Property Value

decimal

BestUnit

Best unit to use based on the effective size.

public string BestUnit { get; }

Property Value

string

Bytes

Size in bytes

public int Bytes { get; }

Property Value

int

Gb

Size in GB

public decimal Gb { get; }

Property Value

decimal

Kb

Size in KB

public decimal Kb { get; }

Property Value

decimal

Mb

Size in MB

public decimal Mb { get; }

Property Value

decimal