I have a component that I wish to protect with a design-time license. i.e. when the component is loaded in a .Net IDE it requires a license but apps compiled and distributed with it do not.

I am using the built in license providor: LicFileLicenseProvider - how do I tell it to only require a license for design time use?

e.g.

VB Code:
  1. <LicenseProvider(GetType(LicFileLicenseProvider))> _
  2. Public Class PrintEngine
  3.     Inherits Component
  4.    
  5.     ' Creates a new, null license.
  6.     Private license As License = Nothing    
  7.    
  8.     Public Sub New()        
  9.    
  10.         ' Adds Validate to the control's constructor.
  11.         license = LicenseManager.Validate(GetType(PrintEngine), Me)
  12.  
  13.     End Sub
  14.    
  15.     Public Overloads Overrides Sub Dispose()
  16.         If Not (license Is Nothing) Then
  17.             license.Dispose()
  18.             license = Nothing
  19.         End If
  20.     End Sub    
  21.    
  22. End Class