public final class MeteredExt extends Metered implements com.aspose.ms.System.IDisposable
Provides methods to set metered key.
In this example, an attempt will be made to set metered public and private key<ms> <pre> [C#] Metered matered = new Metered(); matered.SetMeteredKey("PublicKey", "PrivateKey"); [Visual Basic] Dim matered As Metered = New Metered matered.SetMeteredKey("PublicKey", "PrivateKey") </pre> </ms><java> the component jar file: <pre> Metered matered = new Metered(); matered.setMeteredKey("PublicKey", "PrivateKey"); </pre> </java>
| Constructor and Description |
|---|
MeteredExt()
Initializes a new instance of the
Metered class. |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
static BigDecimal |
getConsumptionCredit()
Gets consumption credit.
|
static BigDecimal |
getConsumptionQuantity()
Gets consumption file size.
|
void |
setMeteredKey(String publicKey,
String privateKey)
Sets metered public and private key
|
public MeteredExt()
Initializes a new instance of the Metered class.
public static BigDecimal getConsumptionQuantity()
Gets consumption file size.
public static BigDecimal getConsumptionCredit()
Gets consumption credit.
public void setMeteredKey(String publicKey, String privateKey)
Sets metered public and private key
setMeteredKey in class MeteredpublicKey - public keyprivateKey - private keypublic void dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
dispose in interface com.aspose.ms.System.IDisposableCopyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.