Click or drag to resize

HelperGetMB Method

Convert bytes to MB

Namespace:  VMInfoFace.Data
Assembly:  VMInfoFace.Data (in VMInfoFace.Data.dll) Version: 21.5.28.1 (21.5.28.1171)
Syntax
public static long GetMB(
	this long pBytes
)

Parameters

pBytes
Type: SystemInt64
Bytes to MB

Return Value

Type: Int64

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Int64. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also