/// <summary>
        /// SHow advanced authentication settings.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void AdvancedBtn_Click(object sender, EventArgs e)
        {
            GXAuthentication authentication = Manufacturer.GetActiveAuthentication();

            if (authentication.Type == Gurux.DLMS.Authentication.HighGMAC)
            {
                AuthenticationGmacForm dlg = new AuthenticationGmacForm(authentication);
                dlg.ShowDialog(this);
            }
            else if (authentication.Type > Gurux.DLMS.Authentication.Low)
            {
                AuthenticationForm dlg = new AuthenticationForm(authentication);
                dlg.ShowDialog(this);
            }
            else
            {
                throw new ArgumentOutOfRangeException("Invalid authentication type.");
            }
        }
 /// <summary>
 /// SHow advanced authentication settings.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void AdvancedBtn_Click(object sender, EventArgs e)
 {
     GXAuthentication authentication = Manufacturer.GetActiveAuthentication();
     if (authentication.Type == Gurux.DLMS.Authentication.HighGMAC)
     {
         AuthenticationGmacForm dlg = new AuthenticationGmacForm(authentication);
         dlg.ShowDialog(this);
     }
     else if (authentication.Type > Gurux.DLMS.Authentication.Low)
     {
         AuthenticationForm dlg = new AuthenticationForm(authentication);
         dlg.ShowDialog(this);
     }
     else
     {
         throw new ArgumentOutOfRangeException("Invalid authentication type.");
     }
 }