Determining if Servoy runs server or developer

Hi,

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

Paul

what would you do with that?

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

There are 2 interfaces specifing it is a developer or server plugin (IServerPlugin vs IDeveloperPlugin)

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

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.