UtilityDataSizeToBytes Method (UInt64, UtilityDataSizeDataUnit)Ipswitch.Messaging.Framework
Convert a DataSize into its equivilant in bytes.

Namespace: IMailAPI_NET
Assembly: IMailAPI_NET (in IMailAPI_NET.dll) Version: 1.0.0.0
Syntax

public static ulong ToBytes(
	ulong value,
	UtilityDataSizeDataUnit unit
)

Parameters

value
Type: SystemUInt64
The integer value to convert.
unit
Type: IMailAPI_NETUtilityDataSizeDataUnit
The unit (B, KB, MB, GB) of the value.

Return Value

Type: UInt64
The value converted to bytes.
See Also

Reference