# LicenseInfo Interface

> LicenseInfo interface in the browser TypeScript API: Detached, immutable component metadata; reading it never grants licensing authority.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > LicenseInfo Interface
- **678 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/llms-full.txt

---

Detached, immutable component metadata; reading it never grants licensing authority.

Package: `@txtextcontrol/tx-sheet-control`. Version: **2.0.0**.

Type-only declaration; it is not a JavaScript runtime constructor.

### Members

#### Properties

| Property | Description |
|---|---|
| [customerName](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/customername-property/llms-full.txt) | The company the license is issued to: the organization of the Text Control account's billing address, or the account's ID when it has none. |
| [expiresAt](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/expiresat-property/llms-full.txt) | For a trial, the end of its 30-day period as an ISO 8601 UTC string; absent for Developer and OEM licenses. |
| [issuedAt](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/issuedat-property/llms-full.txt) | For a trial, the start of its 30-day period as an ISO 8601 UTC string; absent for Developer and OEM licenses. |
| [isValid](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/isvalid-property/llms-full.txt) | Whether the license was valid when this information was read; Developer and OEM licenses are always valid. |
| [licenseId](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/licenseid-property/llms-full.txt) | The license ID, TRIAL-V2- or LIC-V2- followed by a UUID; every license file of the same serial number has the same ID. |
| [majorVersion](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/majorversion-property/llms-full.txt) | The licensed major version, read from the product code of the license: SH-0200-XA-S is version 2.0, which covers every 2.x release. |
| [products](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/products-property/llms-full.txt) | The covered components, SheetEditor and ServerSheetControl; every license from the Text Control Account covers both. |
| [trialSecondsRemaining](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/trialsecondsremaining-property/llms-full.txt) | Remaining whole seconds rounded up; omitted for perpetual licenses. |
| [type](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/type-property/llms-full.txt) | The license type: trial, developer or oem. The declared eval is never issued. |

### Examples

Pass the LicenseInfo value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

```typescript
import type { LicenseInfo } from '@txtextcontrol/tx-sheet-control';

function inspectLicenseInfoIsValid(licenseInfo: LicenseInfo) {
    const value = licenseInfo['isValid'];
    console.log('LicenseInfo.isValid', value);
}
```

### See Also

- [TypeScript Browser Editor API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/llms-full.txt)
- [Workbooks and Worksheets](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/workbooks/llms-full.txt)

---

## In This Section

- [LicenseInfo.customerName Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/customername-property/llms-full.txt): LicenseInfo.customerName property in the browser TypeScript API: The company the license is issued to, from the billing address of the Text Control account.
- [LicenseInfo.expiresAt Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/expiresat-property/llms-full.txt): LicenseInfo.expiresAt property in the TX Sheet Control TypeScript API for the browser: For a trial, the end of its 30-day period as an ISO 8601 UTC string.
- [LicenseInfo.issuedAt Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/issuedat-property/llms-full.txt): LicenseInfo.issuedAt property in the TX Sheet Control TypeScript API for the browser: For a trial, the start of its 30-day period as an ISO 8601 UTC string.
- [LicenseInfo.isValid Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/isvalid-property/llms-full.txt): LicenseInfo.isValid property in the browser TypeScript API: Whether the license was valid when read; Developer and OEM licenses always are.
- [LicenseInfo.licenseId Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/licenseid-property/llms-full.txt): LicenseInfo.licenseId property in the browser TypeScript API: The license ID, TRIAL-V2- or LIC-V2- with a UUID, the same for every file of a serial number.
- [LicenseInfo.majorVersion Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/majorversion-property/llms-full.txt): LicenseInfo.majorVersion property in the browser TypeScript API: The licensed major version from the product code; SH-0200 covers every 2.x release.
- [LicenseInfo.products Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/products-property/llms-full.txt): LicenseInfo.products property in the TX Sheet Control TypeScript API for the browser: The covered components, SheetEditor and ServerSheetControl.
- [LicenseInfo.trialSecondsRemaining Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/trialsecondsremaining-property/llms-full.txt): LicenseInfo.trialSecondsRemaining property in the TX Sheet Control TypeScript API for the browser: Remaining whole seconds rounded up.
- [LicenseInfo.type Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/type-property/llms-full.txt): LicenseInfo.type property in the TX Sheet Control TypeScript API for the browser: The license type: trial, developer or oem. The declared eval is never issued.

---

## Nearby

- **Previous:** [LicenseErrorCode Type](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseerrorcode/llms-full.txt)
- **Next:** [LicenseInfo.customerName Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/customername-property/llms-full.txt)
