0
此代碼是聯合「Google Play許可證驗證」資源中的示例代碼。無效的LVL密鑰!如何從團結得到LVL的android鍵?
我建立這個項目,並玩Android手機。 但它顯示「無效的LVL密鑰!」
我想,我必須改變後面的字符串varibale。
private string m_PublicKey_Base64 = "< set Base64 encoding RSA public key >";
private string m_PublicKey_Modulus_Base64 = "<Set to output from SimpleParseASN1>";
private string m_PublicKey_Exponent_Base64 = "< .. and here >";
但是,我只知道m_Publickey_Base64
的價值,來自google play market。
hmm ......你知道我在做什麼錯嗎? 我能做什麼?請幫幫我。
這是CehckLBLButton示例源
public class CheckLVLButton : MonoBehaviour
{
/*
* This is the Java service binder classes.jar
*/
public TextAsset ServiceBinder;
/*
* Use the public LVL key from the Android Market publishing section here.
*/
private string m_PublicKey_Base64 = "< set Base64 encoding RSA public key >";
/*
* Consider storing the public key as RSAParameters.Modulus/.Exponent rather than Base64 to prevent the ASN1 parsing..
* These are printed to the logcat below.
*/
private string m_PublicKey_Modulus_Base64 = "<Set to output from SimpleParseASN1>";
private string m_PublicKey_Exponent_Base64 = "< .. and here >";