hMailServer.Administrator.ucProtocols.SaveData C# (CSharp) Method

SaveData() public method

public SaveData ( ) : bool
return bool
        public bool SaveData()
        {
            hMailServer.Settings settings = APICreator.Application.Settings;
            settings.ServiceSMTP = checkSMTP.Checked;
            settings.ServicePOP3 = checkPOP3.Checked;
            settings.ServiceIMAP = checkIMAP.Checked;

            DirtyChecker.SetClean(this);

            Marshal.ReleaseComObject(settings);

            return true;
        }