DesigntimeLicenseContext Class

 

Represents a design-time license context that can support a license provider at design time.

Namespace:   System.ComponentModel.Design
Assembly:  System (in System.dll)

System.Object
  System.ComponentModel.LicenseContext
    System.ComponentModel.Design.DesigntimeLicenseContext

[HostProtectionAttribute(SecurityAction.LinkDemand, SharedState = true)]
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class DesigntimeLicenseContext : LicenseContext

NameDescription
System_CAPS_pubmethodDesigntimeLicenseContext()

Initializes a new instance of the DesigntimeLicenseContext class.

NameDescription
System_CAPS_pubpropertyUsageMode

Gets the license usage mode.(Overrides LicenseContext.UsageMode.)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetSavedLicenseKey(Type, Assembly)

Gets a saved license key.(Overrides LicenseContext.GetSavedLicenseKey(Type, Assembly).)

System_CAPS_pubmethodGetService(Type)

Gets the requested service, if it is available.(Inherited from LicenseContext.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSetSavedLicenseKey(Type, String)

Sets a saved license key.(Overrides LicenseContext.SetSavedLicenseKey(Type, String).)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

This class provides methods for managing license keys of the associated context and a property for representing the licensing mode of the associated context.

NamedPermissionSet

for full access to system resources. Demand values: LinkDemand, InheritanceDemand. Associated state:

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: