←Select platform

KernelExpired Property

Summary
Checks whether the LEADTOOLS kernel has expired.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public static bool KernelExpired { get; } 
+ (BOOL)kernelExpired 
public static boolean getKernelExpired(); 
public: 
static property bool KernelExpired { 
   bool get(); 
} 
KernelExpired # get  (RasterSupport) 

Property Value

true if the LEADTOOLS kernel has expired; false, otherwise.

Example
C#
using Leadtools; 
 
 
public void LeadtoolsKernelExample() 
{ 
	// show current kernel 
	switch (RasterSupport.KernelType) 
	{ 
		case RasterKernelType.Release: 
			Console.WriteLine("Release kernel"); 
			break; 
 
		case RasterKernelType.Evaluation: 
			Console.WriteLine("Evaluation kernel"); 
			// show if the kernel has expired 
			if (RasterSupport.KernelExpired) 
				Console.WriteLine("Evaluation kernel has expired"); 
			else 
				Console.WriteLine("Evaluation kernel has not expired yet"); 
			break; 
	} 
} 
Requirements

Target Platforms

Help Version 22.0.2023.5.16
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.