UtilDigitalInformationConvertSize Method

Convert between sizes based in bytes.

Definition

Namespace: DevCase.Core.IO.DigitalInformation
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static double ConvertSize(
	double size,
	DigitalStorageUnits fromUnit,
	DigitalStorageUnits toUnit
)

Parameters

size  Double
The source size to convert.
fromUnit  DigitalStorageUnits
From unit of size.
toUnit  DigitalStorageUnits
To unit of size.

Return Value

Double
The resulting value of the size conversion.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also