    

 ## On this page

  

 

 # Class CheckLicenseObject

 Last update: 16.07.2025 

Namespace: [VM.Managed](VM.Managed.md)  
Assembly: VMObjBase.dll

This class is to represent the object check licence.

```csharp
public class CheckLicenseObject

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [CheckLicenseObject](VM.Managed.CheckLicenseObject.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### CheckLicenseObject()

```csharp
public CheckLicenseObject()

```

## Methods

### CheckLicense(object, ref string)

Check license.

```csharp
public static bool CheckLicense(object ob, ref string strErrorMsg)

```

#### Parameters

`ob` [object](https://learn.microsoft.com/dotnet/api/system.object)

The object.

`strErrorMsg` [string](https://learn.microsoft.com/dotnet/api/system.string)

The error message.

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### CheckLicense(Type, ref string)

Check license.

```csharp
public static bool CheckLicense(Type type, ref string strErrorMsg)

```

#### Parameters

`type` [Type](https://learn.microsoft.com/dotnet/api/system.type)

The Type.

`strErrorMsg` [string](https://learn.microsoft.com/dotnet/api/system.string)

The error message.

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### CheckLicenseNoErrorMsg(Type, ref string)

Check license.

```csharp
public static bool CheckLicenseNoErrorMsg(Type type, ref string strErrorMsg)

```

#### Parameters

`type` [Type](https://learn.microsoft.com/dotnet/api/system.type)

The Type.

`strErrorMsg` [string](https://learn.microsoft.com/dotnet/api/system.string)

The error message.

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### GetLicenseErrorMessage(ILicense)

Get license message.

```csharp
public static string GetLicenseErrorMessage(ILicense lic)

```

#### Parameters

`lic` ILicense

The License interface.

#### Returns

[string](https://learn.microsoft.com/dotnet/api/system.string)