Thetype exposes the following members.
Initializes a new instance of theclass
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Gets a consumption credit.
Gets a consumption quantity.
Serves as a hash function for a particular type.(Inherited from Object.)
Gets the type of the current instance.(Inherited from Object.)
Creates a shallow copy of the current Object.(Inherited from Object.)
Sets metered public and private key.
Returns a string that represents the current object.(Inherited from Object.)
In this example, an attempt will be made to set metered public and private key:
Metered matered = new Metered(); matered.SetMeteredKey("PublicKey", "PrivateKey");