Constructor


Namespace: SeriousBit.Licensing
Assembly: SeriousBit.Licensing (in SeriousBit.Licensing.dll)

Syntax

Visual Basic (Declaration)
Public Sub New( _ 
   ByVal maxUsage As Integer,  _ 
   ByVal countUsageOncePerDay As Boolean,  _ 
   ByVal productID As Guid _ 
)
C#
public UsageBomb(
   int maxUsage,
   bool countUsageOncePerDay,
   Guid productID
)
C++
public:
 UsageBomb(
   int maxUsage,
   bool countUsageOncePerDay,
   Guid productID
) sealed 
J#
public UsageBomb(
   int maxUsage,
   bool countUsageOncePerDay,
   Guid productID
)
JScript
public function UsageBomb(
   maxUsage : int,
   countUsageOncePerDay : bool,
   productID : Guid
)

Parameters

maxUsage
Maximum usage count
countUsageOncePerDay
If true then usage will be counted only once per day
productID
Used to store bomb records uniquely

See Also