Page 1 of 1

Determining if Servoy runs server or developer

PostPosted: Wed Aug 11, 2004 9:59 pm
by pbakker
Hi,

Is it possible in a plugin to determine if the plugin runs in a Developer or a Servoy Server "session"?

Paul

PostPosted: Thu Aug 12, 2004 11:46 am
by jcompagner
what would you do with that?

PostPosted: Thu Aug 12, 2004 11:51 am
by pbakker
I'm building a plugin and for some license feature I need to know if the plugin is running under Servoy Developer (No need for license checking) or under Servoy Server (license checking needed)

Paul

PostPosted: Thu Aug 12, 2004 2:41 pm
by Jan Blok
There are 2 interfaces specifing it is a developer or server plugin (IServerPlugin vs IDeveloperPlugin)

PostPosted: Thu Aug 12, 2004 2:46 pm
by pbakker
That is not what I mean...

I have a server side plugin (IServerPlugin). When I start the Servoy Developer, this plugin gets loaded and you can use it from within the developer, to develop your application.

Now, what I would like is to implement a licensing structure that will allow people to use the plugin without a license key while developing, but when used in Production (servoy server) there should be a valid license key.

So, the question is: in the plugin, how can I determine is it's Servoy Server or Servoy Developer....

Paul

PostPosted: Thu Aug 12, 2004 2:59 pm
by Jan Blok
It is not possible to determen from with IClientPlugin where you are running, our developer product is nothing more than an normal client with a designer.