Skip to main content

Motion Standalone Preprocessor C# library 2025 R1

Class CheckLicenseObject

Last update: 16.07.2025

Namespace: VM.Managed
Assembly: VMObjBase.dll

This class is to represent the object check licence.

public class CheckLicenseObject

Inheritance

objectCheckLicenseObject

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects(object, LinkPropertyType)

Constructors

CheckLicenseObject()

public CheckLicenseObject()

Methods

CheckLicense(object, ref string)

Check license.

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

Parameters

ob object

The object.

strErrorMsg string

The error message.

Returns

bool

CheckLicense(Type, ref string)

Check license.

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

Parameters

type Type

The Type.

strErrorMsg string

The error message.

Returns

bool

CheckLicenseNoErrorMsg(Type, ref string)

Check license.

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

Parameters

type Type

The Type.

strErrorMsg string

The error message.

Returns

bool

GetLicenseErrorMessage(ILicense)

Get license message.

public static string GetLicenseErrorMessage(ILicense lic)

Parameters

lic ILicense

The License interface.

Returns

string

Connect with Ansys