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

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

The Metered type exposes the following members.

Public methodMetered
Creates a new instance of this class.
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.)
In this example, an attempt to set metered public and private keys is made:

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

[Visual Basic]

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