Metered Class
Provides methods to work with metered licensing.
Inheritance Hierarchy
SystemObject
  GroupDocs.AssemblyMetered

Namespace: GroupDocs.Assembly
Assembly: GroupDocs.Assembly (in GroupDocs.Assembly.dll) Version: 18.7
Syntax
public class Metered

The Metered type exposes the following members.

Constructors
  NameDescription
Public methodMetered
Creates a new instance of this class.
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetConsumptionQuantity
Returns the currently consumed number of megabytes.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetMeteredKey
Enables metered licensing for the component by specifying appropriate public and private metered keys.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Examples
In this example, an attempt to set metered public and private keys is made:
[C#]

Metered metered = new Metered();
metered.SetMeteredKey("PublicKey", "PrivateKey");

[Visual Basic]

Dim metered As Metered = New Metered
metered.SetMeteredKey("PublicKey", "PrivateKey")
See Also