# TesseractLanguageDataFile

One verified local trained-data file.

Class 

`OfficeIMO.Ocr.Tesseract`

**Namespace**

`OfficeIMO.Ocr.Tesseract`

**Assembly**

`OfficeIMO.Ocr.Tesseract`

**Source revision**

`063fe3ee9839` with working tree changes

**Source**

[TesseractLanguageData.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr.Tesseract/TesseractLanguageData.cs#L30)

**Modifiers**

sealed

One verified local trained-data file.

## Inheritance

- object
- TesseractLanguageDataFile

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [TesseractLanguageDataResult.Files](/api/ocr-tesseract/officeimo-ocr-tesseract-tesseractlanguagedataresult/#property-files)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Language { get; }` [#](#property-language)

[TesseractLanguageData.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr.Tesseract/TesseractLanguageData.cs#L30)

Tesseract language identifier.

`public string Path { get; }` [#](#property-path)

[TesseractLanguageData.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr.Tesseract/TesseractLanguageData.cs#L32)

Absolute local file path.

`public string Sha256 { get; }` [#](#property-sha256)

[TesseractLanguageData.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr.Tesseract/TesseractLanguageData.cs#L34)

Verified lowercase SHA-256 digest.

`public long ByteCount { get; }` [#](#property-bytecount)

[TesseractLanguageData.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr.Tesseract/TesseractLanguageData.cs#L36)

Verified file length.

`public bool Downloaded { get; }` [#](#property-downloaded)

[TesseractLanguageData.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr.Tesseract/TesseractLanguageData.cs#L38)

True when this call downloaded the file; false when a valid cached file was reused.

<!-- PowerForge markdown artifact sha256:C5EF7D7FCB00DCA66A7176CA3576C3870913428773B4DCC9E94F545C9B1C080C -->
