Table of Contents

Interface ISizeInfo

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

Size information for files

[PublicApi]
public interface ISizeInfo

Remarks

  • Added in v14.04 as class, changed to interface in v17

Properties

BestSize

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

decimal BestSize { get; }

Property Value

decimal

BestUnit

Best unit to use based on the effective size.

string BestUnit { get; }

Property Value

string

Bytes

Size in bytes

int Bytes { get; }

Property Value

int

Gb

Size in GB

decimal Gb { get; }

Property Value

decimal

Kb

Size in KB

decimal Kb { get; }

Property Value

decimal

Mb

Size in MB

decimal Mb { get; }

Property Value

decimal