Our project uses an older version of component pro. We need to update our renewed credentials. plz help.

0
our project uses componentpro 6.4 on .net 4.7. code snippet: `filePathpfx = Server.MapPath("/Key.pfx"); X509Certificate2 x509Certificate1 = new X509Certificate2(filePathpfx, "fakepassword", X509KeyStorageFlags.MachineKeySet | X509KeyStorageFlags.PersistKeySet | X509KeyStorageFlags.Exportable); x509Certificate1.Verify();` The key.pfx contains our old credentials, but I'm not seeing where we can import the credentials to update the key.pfx file in our dashboard. please advise how we can update our credentials without having to update the componentpro version. Also we tried the new method: 'ComponentPro.Licensing.Saml.LicenseManager.SetLicenseKey("fakekey");' Entered the key from our dashboard as a string, which returms "Invalid license key\r\nParameter name: licenseKey" Please advise how we can get this working. Thanks!
edited 10/26/2021 9:45:39 PM
asked 10/25/2021 10:11:07 PM
add a comment

1 Answers

0
Hi Bob, You can set key static class Program { /// /// The main entry point for the application. /// [STAThread] static void Main() { ComponentPro.Licensing.Saml.LicenseManager.SetLicenseKey(ComponentPro.LicenseKey.Key); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Saml1Demo()); } } for key.pfx Please reinstall the setup package to get the new license key.
 
answered 10/27/2021 7:18:59 PM
add a comment

Your Answer

Not the answer you're looking for? Browse other questions tagged saml or ask your own question.