Developer

Manual Activation Code Snippets

How do I enable Manual Activation in my application using Software Potential ?

Posted on: 24 Jun 2014Link to this question as #FAQ148

How can I control renewals of subscription licenses when I create my own activation dialog?

I have written my own custom activation dialog to replace the standard Activation Wizard but notice that subscription licenses automatically renew without any user involvement. I want to be able to prevent autorenewal to ensure the user is involved in initiating/approving any renewal (as happens with...

Posted on: 23 Mar 2013Link to this question as #FAQ147

How to set Expiration Date and Expiration Days when issuing licenses via Web Service API?

How do I set Expiration Date and Expiration Days when issuing a license via the Web Service APIs? Why do I sometimes get the following error “LicenseInfo.Limitations.ExpirationDate and LicenseInfo.Limitations.ExpirationPeriod cannot both be set” error?

Posted on: 13 Nov 2012Link to this question as #FAQ146

How to rewrite a function that has either “ref” or “out” parameter, so that we can protect this func

I know we cannot protect function that has either ref or out parameter. How do you propose we go about to protect such function? How do we rewrite such function so we can put some slp protection?

Posted on: 25 Jul 2011Link to this question as #FAQ134

Generics support in SLPS?

Can I protect methods using generic code constructs? Can I protect generic methods or methods on a generic class?

Posted on: 19 Jan 2011Link to this question as #FAQ127

LicAdmin failing to work correctly ?

I have experienced a number of issues with LicAdmin (Microsoft.Licensing.LicAdmin.exe): Why won't LicAdmin work with 'versioned' DLLs? Why won't LicAdmin work when I put (some of) the runtime DLLs in the .NET Global Assembly Cache (GAC)? Why does LicAdmin show all licenses for my product...

Posted on: 18 Sep 2010Link to this question as #FAQ122

Slps.Licensing.StorageAccessCouldBeVirtualised Exception thrown by VerifyInstalled() method

I'm getting the following exception when the installer VerifyInstalled() method is called on the application startup: Slps.Licensing.StorageAccessCouldBeVirtualizedException: Licensing storage could be virtualized per user as this Application does not have an Application Manifest resource with a requestedExecutionLevel...

Posted on: 18 Aug 2010Link to this question as #FAQ121

How do I find the Permutation ID and Permutation Short Code?

What is the Permutation ID and PermutationShort Code that is mentioned in the technical documentation e.g. in KB articles on installation? Where do I find them and how do I use them?

Posted on: 16 Aug 2010Link to this question as #FAQ120

Declaratively mark methods to be protected/licensed via attributes

Is there a way I can indicate which methods I wish to protect via my code so I dont have to regenerate my .SLMCfg file every time my methods names change (e.g., as a result of obfuscation or refactoring)?

Posted on: 12 May 2010Link to this question as #FAQ119

Assemblies marked x64-only rejected by Code Protector when doing "Add Module"

When I try to protect an assembly that's got a Target Platform of "x64", I get a One or more files were not added because they were not valid .Net assemblies message from Code Protector. Is there a 64 bit edition of Code Protector?

Posted on: 13 Apr 2010Link to this question as #FAQ118

Software Potential Activation Service Endpoints?

Can you tell me what hostnames and ports are used by Software Potential service foractivation? We need to know for customers who need to openup their firewall/web filter to allow activation request be made.

Posted on: 30 Mar 2010Link to this question as #FAQ117

Performance Benchmarks

How can I go about testing the performance impact your product will have on my code?

Posted on: 11 Mar 2010Link to this question as #FAQ115

When do I need to upgrade my Code Protector?

When do I need to upgrade my Code Protector Version and what are the implications of such an upgrade?

Posted on: 03 Mar 2010Link to this question as #FAQ113

"SetCompatibleTextRenderingDefault" Exception

Why am I getting this exception when I license my Windows Forms application? “InvalidOperationException SetCompatibleTextRenderingDefault must be called before the first IWin32Window object is created in the application".

Posted on: 07 Jan 2010Link to this question as #FAQ108

How do I access SLPS Log Files?

I am interested in troubleshooting techniques when a user has issues with license activation. Are there tools, log files or something I can work with that will help to narrow down the problem?

Posted on: 21 Dec 2009Link to this question as #FAQ107

Handling FIPS Cryptographic Policy Exception

I'm seeing an exception:- System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms at System.Security.Cryptography.SHA512Managed..ctor()" What does this exception mean and how do I handle it?

Posted on: 12 Nov 2009Link to this question as #FAQ105

Disabling FIPS enforcement

Howcan I prevent theFIPS (Federal Information Processing Standards) violation exceptions being thrown from the SLPS Runtime components being thrown?

Posted on: 08 Oct 2009Link to this question as #FAQ89

Server APIs

Are there any Server APIs toprogrammatically accesssome of the Administration Features of the SLP On-line Service or SLP Server in order to integrate with ERP/e-commerce systems etc.?

Posted on: 08 Oct 2009Link to this question as #FAQ87

Versioned vs. Un-versioned Permutation dlls

When downloading/extracting the permutation DLLs, 2 folders are created: versioned and un-versioned. I have used successfully the versioned dlls to make API calls and get feature information for licenses, but I am still wonderingwhat the difference actually is...

Posted on: 08 Oct 2009Link to this question as #FAQ86

Handling Licensing Exceptions in GUI applications

I have created a small test application. My test app UI has 3 buttons: Name, Age and SIN. Name is available in all versions of the app, Age is available in the "Standard" version (license) and SIN is only available in the "Enterprise" version (license). I protected the code and associate...

Posted on: 08 Oct 2009Link to this question as #FAQ85

Microsoft.Licensing.SLMRuntime does not contain a definition for ‘LicenseDevices’.

Where can I get access to LicenseDevices in the code? This code used to work for previous version of SLM: SLMRuntime slm = new SLMRuntime(Constants.PermutationID); if(slm.LicenseDevices != null && slm.LicenseDevices.ComputerIdDevice != null) stringid = slm.LicenseDevices.ComputerIdD...

Posted on: 08 Oct 2009Link to this question as #FAQ84

Deactivate a License?

Using my "current" licensing software, users have the option to "deactivate" a machine bound license such that they can install it on another computer (copying the existing license would not work due to machine ID/fingerprint changes). When they deactivate the license (through the...

Posted on: 08 Oct 2009Link to this question as #FAQ83

Software encryption and licensing attached to database file rather than the actual program?

I am creating a program that interacts with SQL database files. Is it possible to use SLP to firstly encrypt the database files and secondly attach the licensing requirements to the individual database file rather than the software program itself?

Posted on: 07 Oct 2009Link to this question as #FAQ82

How to uninstall a license remotely?

How can I uninstall/ delete a license programmatically? Can this be done remotely? Can I view license uninstallation/deletion events on the SLPS Service?

Posted on: 07 Oct 2009Link to this question as #FAQ81

Capturing end-customer information

Is there any help on appropriate configurations for a commercial license, and best practice on how to capture the end-customer name, order#, or other identifying details of the customer to whom we are issuing it?

Posted on: 07 Oct 2009Link to this question as #FAQ80

Documentation for API’s

Where can I find documentation for SLP Services web and Runtime API’s? And what kind of permission do I need to utilise these API’s?

Posted on: 07 Oct 2009Link to this question as #FAQ79

Re-use of Transformed Methods

If I protect methods in my code, can a hacker decompile the rest, change some things, and then recompile it with the same calls to the obscured methods? It certainly seems like the code protector makes it extremely difficult for a hacker to understand the obscured code, but I am wondering if the obscured...

Posted on: 07 Oct 2009Link to this question as #FAQ78

Licensing storage is inaccessible error?

Error for the protected method: 'Licensing storage is inaccessible. Please verify your permissions.' What causes this?

Posted on: 07 Oct 2009Link to this question as #FAQ77

Compact .NET Framework and SLP Services

Does SLP Services support the Compact .NET Framework?

Posted on: 06 Oct 2009Link to this question as #FAQ75

SQL Stored Procedures

Do you support SQL stored procedures?

Posted on: 06 Oct 2009Link to this question as #FAQ74

Informing a user of lack of a valid license

How do we inform the user when a feature does not have an invalid license e.g. the feature is not included in the licenses in the license store or some usage limit has been exceed?

Posted on: 06 Oct 2009Link to this question as #FAQ73

Enforcement of valid system time

Does SLP Services enforce valid system time on the local machine?

Posted on: 06 Oct 2009Link to this question as #FAQ72

SLP Services and Installshield

Could we use SLPS to provide licensing to this .msi package created using Installshield?

Posted on: 06 Oct 2009Link to this question as #FAQ71

SLPS .NET version requirements

In the prerequisites for the SLPS Code Protector SDK, .NET 3.0 is listed as a requirement. Why is this?

Posted on: 06 Oct 2009Link to this question as #FAQ30