下载了最新的LEADTOOLSMain.exe
项目中引用Leadtools.dll,并调用 RasterSupport.KernelExpired
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Leadtools;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
bool expired = RasterSupport.KernelExpired;
}
}
}
代码报错:
System.BadImageFormatException: 'Could not load file or assembly 'Leadtools, Version=20.0.4.0, Culture=neutral, PublicKeyToken=9cf889f53ea9b907' or one of its dependencies. An attempt was made to load a program with an incorrect format.'
|