protected override void OnAction(Microsoft.ManagementConsole.Action action, AsyncStatus status)
        {
            base.OnAction(action, status);

            switch ((int)action.Tag)
            {
            case ACTION_GET_SERVER_VERSION:
                MMCDlgHelper.ShowMessage(VMCACertificateService.GetVersion(ServerDTO));
                break;

            case ACTION_SHOW_ROOT_CERTIFICATE:
                ShowRootCertificate();
                break;

            case ACTION_ADD_ROOT_CERTIFICATE:
                AddRootCertificate();
                break;

            case ACTION_LOGIN:
                DoLogin();
                break;

            case ACTION_LOGOUT:
                DoLogout();
                break;
            }
        }
 public void ShowServerVersion()
 {
     UIErrorHelper.CheckedExec(delegate() {
         UIErrorHelper.ShowAlert(VMCACertificateService.GetVersion(ServerDTO), "Version");
     });
 }