Exemplo n.º 1
0
        bool CreateKeyPair()
        {
            bool bResult = false;

            MMCActionHelper.CheckedExec(delegate()
            {
                var frm = new CreateKeyPairForm();
                if (MMCDlgHelper.ShowForm(frm))
                {
                    ServerDTO.KeyPairs.Add(frm.DTO);
                    bResult = true;
                }
            });
            return(bResult);
        }
Exemplo n.º 2
0
        bool CreateKeyPair()
        {
            bool bResult = false;

            MMCActionHelper.CheckedExec(delegate()
            {
                var frm = new CreateKeyPairForm();
                if (MMCDlgHelper.ShowForm(frm))
                {
                    ServerDTO.KeyPairs.Add(frm.DTO);
                    bResult = true;
                    VMCASnapInEnvironment.Instance.SaveLocalData();
                }
            });
            return(bResult);
        }