Search Results for

Show / Hide Table of Contents

# Class ImageMetadata

Strongly-typed view over the JSON returned by GetImageInfoByFilenameAsJSON(string, out nint, out uint) / GetImageInfoByIdAsJSON(int, out nint, out uint). JSON property names follow the camelCase convention introduced 2026-05-03.

##### Inheritance

object
ImageMetadata

##### Inherited Members

object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()

###### Namespace: FexViewer

###### Assembly: FexViewer.dll

##### Syntax

    public class ImageMetadata

### Properties

#### Acquisition

Acquisition tool / version string. Legacy; prefer the `encaseInformation` sub-object.

##### Declaration

    [JsonPropertyName("acquisition")]
    public string? Acquisition { get; set; }

##### Property Value

Type | Description
--- | ---
string |

#### CaseName

Case name. Legacy; prefer the `encaseInformation` sub-object.

##### Declaration

    [JsonPropertyName("caseName")]
    public string? CaseName { get; set; }

##### Property Value

Type | Description
--- | ---
string |

#### DeviceDescription

Free-form device description from the acquisition tool.

##### Declaration

    [JsonPropertyName("deviceDescription")]
    public string? DeviceDescription { get; set; }

##### Property Value

Type | Description
--- | ---
string |

#### DeviceName

Device name as recorded in the image (e.g. drive model).

##### Declaration

    [JsonPropertyName("deviceName")]
    public string? DeviceName { get; set; }

##### Property Value

Type | Description
--- | ---
string |

#### DeviceSize

Logical size of the acquired device in bytes.

##### Declaration

    [JsonPropertyName("deviceSize")]
    public long DeviceSize { get; set; }

##### Property Value

Type | Description
--- | ---
long |

#### EvidenceNumber

Evidence number. Legacy; prefer the `encaseInformation` sub-object.

##### Declaration

    [JsonPropertyName("evidenceNumber")]
    public string? EvidenceNumber { get; set; }

##### Property Value

Type | Description
--- | ---
string |

#### Examiner

Examiner name. Legacy; prefer the `encaseInformation` sub-object.

##### Declaration

    [JsonPropertyName("examiner")]
    public string? Examiner { get; set; }

##### Property Value

Type | Description
--- | ---
string |

#### Filename

Name of the first image segment as the DLL parsed it.

##### Declaration

    [JsonPropertyName("filename")]
    public string? Filename { get; set; }

##### Property Value

Type | Description
--- | ---
string |

#### ImageType

Detected image format ("E01", "DD", "DMG", …).

##### Declaration

    [JsonPropertyName("imageType")]
    public string? ImageType { get; set; }

##### Property Value

Type | Description
--- | ---
string |

#### IsLogical

true for logical evidence files (L01 / Lx01 / AD1) versus physical disk images.

##### Declaration

    [JsonPropertyName("isLogical")]
    public bool IsLogical { get; set; }

##### Property Value

Type | Description
--- | ---
bool |

#### MD5

MD5 hash recorded at acquisition, if the format carries one.

##### Declaration

    [JsonPropertyName("md5")]
    public string? MD5 { get; set; }

##### Property Value

Type | Description
--- | ---
string |

#### SHA1

SHA1 hash recorded at acquisition, if the format carries one.

##### Declaration

    [JsonPropertyName("sha1")]
    public string? SHA1 { get; set; }

##### Property Value

Type | Description
--- | ---
string |

#### SegmentCount

Number of segments in a multi-segment image, or 1 for a single-file image.

##### Declaration

    [JsonPropertyName("segmentCount")]
    public int SegmentCount { get; set; }

##### Property Value

Type | Description
--- | ---
int |

### Methods

#### FormatSize()

Returns DeviceSize formatted as a human-readable string (e.g. `"250.06 GB"`).

##### Declaration

    public string FormatSize()

##### Returns

Type | Description
--- | ---
string |