Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, March 31, 2015 5:40:12 PM(UTC)
Michael Cheng

Groups: Registered
Posts: 5

after i use Leadtools.RasterSupport.SetLicense("xxx","xxx") unlock liscense in Wpf project,when i edit a wcf
winodow include RasterImageViewer control,
sometimes have "xxx expired" dialog.
ps:in winform project is ok.

c# code:
i have login and mainwindow wondows,i use
Leadtools.RasterSupport.SetLicense("xxx","xxx") method both in login and mainwindow load event
public class Program : Application
private static Mutex mutex = null;

static void Main()
string mutexStr = "test";
mutexStr = string.Format("{0}-{1}", Utils.Config.ConfigFactory.GetInstance().ConfigInfo.SysTitle, Utils.Config.ConfigFactory.GetInstance().ConfigInfo.SysEnvironment);
bool isRunning = false;
mutex = new Mutex(true, mutexStr, out isRunning);
if (isRunning)
Application currrentApp = new Application();
currrentApp.ShutdownMode = ShutdownMode.OnExplicitShutdown;
Login login = new Login();
bool? dialogResult = login.DialogResult;
if (dialogResult == true)
MainWindow main = new MainWindow();
catch (Exception ex)
MessageBox.Show("加载配置信息出错,错误信息:" + ex.Message);

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, April 1, 2015 8:39:48 AM(UTC)
Faris Shahin

Groups: Registered, Tech Support
Posts: 26


To further investigate this issue, please send an email to support@leadtools.com with your serial number (note: DO NOT post it here) and your license and KEY files. In your email, refer to this forum post.
Faris Shahin
Developer Support Engineer
LEAD Technologies, Inc.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.063 seconds.