Back to product page

SetLicenseKey method


Sets your license key.

Syntax

  • C#
  • C++
  • VB.NET
void devP2P.SetLicenseKey(IntPtr Handle, string Value);
The SetLicenseKey(Handle,value) syntax has these parts:
HandleReference to the devP2P instance.
valueYour license key.

void SetLicenseKey(const char *license_key);
The SetLicenseKey(license_key) syntax has these parts:
license_keyNULL terminated string with license key you obtain when product was ordered.

Sub P2P_SetLicenseKey(ByVal Handle As IntPtr, ByVal Value As String)
The SetLicenseKey(Handle,value) syntax has these parts:
HandleReference to the devP2P instance.
valueYour license key.

Remarks

SetLicenseKey "unlocks" instance of devP2P to work beyond evaluation period. You can distribute devP2P with your application when your license key is set, so it does not show any kind of 'nag screens' or notifications related to evaluation period.

Platforms

Windows
Mac OSX
Linux
BSD