Moonware.Server.WCF
ActivateLicense Method



The license key.
Activates the license.
Syntax
'Declaration
 
<OperationBehaviorAttribute()>
<PrincipalPermissionAttribute(Name="", 
   Role="Edit Settings", 
   Authenticated=True, 
   Action=SecurityAction.Demand, 
   Unrestricted=False)>
Public Function ActivateLicense( _
   ByVal licenseKey As String _
) As Boolean
'Usage
 
Dim instance As MoonwareServerWCF
Dim licenseKey As String
Dim value As Boolean
 
value = instance.ActivateLicense(licenseKey)
[OperationBehaviorAttribute()]
[PrincipalPermissionAttribute(Name="", 
   Role="Edit Settings", 
   Authenticated=true, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public bool ActivateLicense( 
   string licenseKey
)
[OperationBehaviorAttribute()]
[PrincipalPermissionAttribute(Name="", 
   Role="Edit Settings", 
   Authenticated=true, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public:
bool ActivateLicense( 
   String^ licenseKey
) 

Parameters

licenseKey
The license key.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MoonwareServerWCF Class
MoonwareServerWCF Members

Send Feedback