Locks the use of the licensed software to a designtime or runtime environment.
System.Object
   AgileDotNetObject
      Lock
         UsageModeLock
Namespace: AgileDotNet.Licensing
Assembly: AgileDotNet.Licensing (in AgileDotNet.Licensing.dll)
The UsageModeLock is used to control the execution environment in which the licensed software can run in. Use the UsageModeLock to determine whether the licensed software can run in a designtime host such as Visual Studio.NET or only in a standard execution environment.