Metered

Metered class

요금제 라이센스로 구성 요소에 라이센스를 부여하는 방법을 제공합니다.

public class Metered

생성자

이름 설명
Metered() 의 새 인스턴스를 초기화합니다.Metered 클래스.

행동 양식

이름 설명
SetMeteredKey(string, string) 측정된 키로 제품을 활성화합니다.
static GetConsumptionCredit() 소비된 크레딧 수를 검색합니다.
static GetConsumptionQuantity() 처리된 MB 양을 검색합니다.

비고

더 알아보기

다음 예는 측정된 키로 제품을 활성화하는 방법을 보여줍니다.

string publicKey = "Public Key";
string privateKey = "Private Key";

Metered metered = new Metered();
metered.SetMeteredKey(publicKey, privateKey);

또한보십시오