> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NSExtendedLicenseInfo

## Constructors

### NSExtendedLicenseInfo()

```crmscript theme={null}
NSExtendedLicenseInfo
```

## Methods

## GetAccumulatedNextCheckDate()

```crmscript theme={null}
DateTime GetAccumulatedNextCheckDate()
```

**Returns:** [CRMScript.Global.DateTime](CRMScript.Global.DateTime)

**Example:**

```crmscript theme={null}
NSExtendedLicenseInfo thing;
DateTime accumulatedNextCheckDate = thing.GetAccumulatedNextCheckDate();
```

## GetCanBeActivated()

```crmscript theme={null}
Bool GetCanBeActivated()
```

**Returns:** [CRMScript.Global.Bool](CRMScript.Global.Bool)

**Example:**

```crmscript theme={null}
NSExtendedLicenseInfo thing;
Bool canBeActivated = thing.GetCanBeActivated();
```

## GetCurrent()

```crmscript theme={null}
NSLicenseInfo GetCurrent()
```

**Returns:** [CRMScript.NetServer.NSLicenseInfo](CRMScript.NetServer.NSLicenseInfo)

**Example:**

```crmscript theme={null}
NSExtendedLicenseInfo thing;
NSLicenseInfo current = thing.GetCurrent();
```

## GetExtendedModuleLicenses()

```crmscript theme={null}
NSExtendedModuleLicense[] GetExtendedModuleLicenses()
```

**Returns:** [CRMScript.NetServer.NSExtendedModuleLicense](CRMScript.NetServer.NSExtendedModuleLicense)\[]

**Example:**

```crmscript theme={null}
NSExtendedLicenseInfo thing;
NSExtendedModuleLicense[] extendedModuleLicenses = thing.GetExtendedModuleLicenses();
```

## GetNew()

```crmscript theme={null}
NSLicenseInfo GetNew()
```

**Returns:** [CRMScript.NetServer.NSLicenseInfo](CRMScript.NetServer.NSLicenseInfo)

**Example:**

```crmscript theme={null}
NSExtendedLicenseInfo thing;
NSLicenseInfo new = thing.GetNew();
```

## GetReason()

```crmscript theme={null}
String GetReason()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String)

**Example:**

```crmscript theme={null}
NSExtendedLicenseInfo thing;
String reason = thing.GetReason();
```

## SetAccumulatedNextCheckDate(DateTime)

```crmscript theme={null}
Void SetAccumulatedNextCheckDate(DateTime accumulatedNextCheckDate)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSExtendedLicenseInfo thing;
DateTime accumulatedNextCheckDate;
thing.SetAccumulatedNextCheckDate(accumulatedNextCheckDate);
```

## SetCanBeActivated(Bool)

```crmscript theme={null}
Void SetCanBeActivated(Bool canBeActivated)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSExtendedLicenseInfo thing;
Bool canBeActivated;
thing.SetCanBeActivated(canBeActivated);
```

## SetCurrent(NSLicenseInfo)

```crmscript theme={null}
Void SetCurrent(NSLicenseInfo current)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSExtendedLicenseInfo thing;
NSLicenseInfo current;
thing.SetCurrent(current);
```

## SetExtendedModuleLicenses(NSExtendedModuleLicense\[])

```crmscript theme={null}
Void SetExtendedModuleLicenses(NSExtendedModuleLicense[] extendedModuleLicenses)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSExtendedLicenseInfo thing;
NSExtendedModuleLicense[] extendedModuleLicenses;
thing.SetExtendedModuleLicenses(extendedModuleLicenses);
```

## SetNew(NSLicenseInfo)

```crmscript theme={null}
Void SetNew(NSLicenseInfo new)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSExtendedLicenseInfo thing;
NSLicenseInfo new;
thing.SetNew(new);
```

## SetReason(String)

```crmscript theme={null}
Void SetReason(String reason)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSExtendedLicenseInfo thing;
String reason;
thing.SetReason(reason);
```


## Related topics

- [NSLicenseAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSLicenseAgent.md)
- [SuperOffice.WebApi.Data.ExtendedLicenseInfo](/en/api/reference/webapi/SuperOffice.WebApi.Data.ExtendedLicenseInfo.md)
- [Validate License Info](/en/api/reference/restful/agent/license_agent/validate-license-info.md)
- [Activate License Info](/en/api/reference/restful/agent/license_agent/activate-license-info.md)
- [Get Module License History From License Server](/en/api/reference/restful/agent/license_agent/get-module-license-history-from-license-server.md)
- [NSLicenseInfo](/en/automation/crmscript/reference/CRMScript.NetServer.NSLicenseInfo.md)
