Search Results for

Show / Hide Table of Contents

# Class UploaderLicenseProvider

Compatibility license provider for legacy CuteWebUI controls.

##### Inheritance

object
LicenseProvider
UploaderLicenseProvider

##### Inherited Members

object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

###### Namespace: CuteWebUI

###### Assembly: AjaxUploader.dll

##### Syntax

    public class UploaderLicenseProvider : LicenseProvider

### Methods

#### GetLicense(LicenseContext, Type, object, bool)

When overridden in a derived class, gets a license for an instance or type of component, when given a context and whether the denial of a license throws an exception.

##### Declaration

    public override License GetLicense(LicenseContext context, Type type, object instance, bool allowExceptions)

##### Parameters

Type | Name | Description
--- | --- | ---
LicenseContext | context | A LicenseContext that specifies where you can use the licensed object.
Type | type | A Type that represents the component requesting the license.
object | instance | An object that is requesting the license.
bool | allowExceptions | true if a LicenseException should be thrown when the component cannot be granted a license; otherwise, false.

##### Returns

Type | Description
--- | ---
License | A valid License.

##### Overrides

LicenseProvider.GetLicense(LicenseContext, Type, object, bool)