how to dynamically add a QlmComputerID value in the C#.
I tried to give the system bios_id as QlmComputerID dynamically.
QlmControls.QlmBaseControlProperties qlmBaseControlProperties1 = new QlmControls.QlmBaseControlProperties();
this.qlmExpressLicenseValidationControl1.QlmComputerID = System bios name;
but while rebuild it will reset to as show below.
this.qlmExpressLicenseValidationControl1.QlmComputerID = "";
kindly provide a solution to add the QlmComputerID dynamically and not in the design parameter.
-
Official comment
Hi Gowtham,
My guess is that the property is being set too early.
If the QLM .NET control is hosted on a Windows Form, please make sure you set the QlmComputerID property in the "OnLoad" event of the form and not in the constructor.
private void Frm_Load(object sender, EventArgs e)
{
this.qlmExpressLicenseValidationControl1.QlmComputerID = System bios ;
}Comment actions
Please sign in to leave a comment.
Comments
1 comment