Mike,
How you do it depends on the OS platform you're using. Generally speaking, what I do is to get the domain name from the network stack (or just using the Win32 API under Windows), and compare it to a const string. Thus, if you're working within, say, Disney Animation, and the compositing domain is comp.disney.com, for example, just error() if the domain does not match this string. Hope that helps. Steve From: [email protected] [mailto:[email protected]] On Behalf Of Mike Wong | artixels.gmail Sent: Thursday, October 18, 2012 7:38 AM To: Nuke plug-in development discussion Subject: Re: [Nuke-dev] Plugin Licencing If I recall correctly, this License API is no longer available according to a thread I checked a while ago. Mike On Thursday, October 18, 2012, Stephen Newbold wrote: Is it possible to provide any more info on how a 3rd party can implement licensing within a plugin? I want to have a look at the very least locking the use of a plugin to a specific site, not really interested in floating licences or anything particularly complicated. http://docs.thefoundry.co.uk/nuke/63/ndkreference/Plugins/structDD_1_1Image_ 1_1License.html Can't really make much sense of this. How does the system ID work. 'This is a 32-bit value that is unique for each customer site'. I check '$this_system_id' here and get 0 as the result. I'm not even sure how this is meant to work! Cheers, Steve -- Stephen Newbold Compositing Lead - Film MPC 127 Wardour Street Soho, London, W1F 0NL Main - + 44 (0) 20 7434 3100 www.moving-picture.com _______________________________________________ Nuke-dev mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
_______________________________________________ Nuke-dev mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
