Click or drag to resize
ImDiskAPIGetPartitionInformation Method (String, UInt32, Int64)
Parses partition table entries from a master boot record and extended partition table record, if any.

Namespace: LTR.IO.ImDisk
Assembly: ImDiskNet (in ImDiskNet.dll) Version: 1.0.0.0 (1.0.007.0)
Syntax
public static ReadOnlyCollection<PARTITION_INFORMATION> GetPartitionInformation(
	string ImageFile,
	uint SectorSize,
	long Offset
)

Parameters

ImageFile
Type: SystemString
Name of image file to examine.
SectorSize
Type: SystemUInt32
Sector size for translating sector values to absolute byte positions. This parameter is in most cases 512.
Offset
Type: SystemInt64
Offset in image file where master boot record is located.

Return Value

Type: ReadOnlyCollectionPARTITION_INFORMATION
An array of eight PARTITION_INFORMATION structures
See Also