this code is Sample code in unity "Google Play License Verification" asset.
I build this project, and play form android phone. but, it show me "Invalid LVL key!"
I think, I have to change follow string 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 >";
BUT, I just know value that m_Publickey_Base64
, from google play market.
hmm...... Do you know what i'm doing wrong?? what can i do? please help me.
this is part of CehckLBLButton sample source
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 >";