public static CLicenseFile CreateNew(string aProductId, string aLicKey) { CLicenseFile lLic = new CLicenseFile(); lLic.LicenseKey = aLicKey; lLic.ProductID = aProductId; return(lLic); }
public static CLicenseFile CreateNew( string aProjectId, string aAppId, string aAppVer, string aCustomer, DateTime aRegTime ) { CLicenseFile lLic = new CLicenseFile(); lLic.LicenseKey = PublicLicenseCode.Generate( aProjectId, aAppId, aAppVer, aCustomer, aRegTime ); lLic.ProductID = PublicLicenseCode.GetProductKey(aProjectId, aAppId, aAppVer); return(lLic); }
public static CLicenseFile CreateNew(string aProductId, string aLicKey) { CLicenseFile lLic = new CLicenseFile(); lLic.LicenseKey = aLicKey; lLic.ProductID = aProductId; return lLic; }
public static CLicenseFile CreateNew( string aProjectId, string aAppId, string aAppVer, string aCustomer, DateTime aRegTime ) { CLicenseFile lLic = new CLicenseFile(); lLic.LicenseKey = PublicLicenseCode.Generate( aProjectId, aAppId, aAppVer, aCustomer, aRegTime ); lLic.ProductID = PublicLicenseCode.GetProductKey(aProjectId, aAppId, aAppVer); return lLic; }