protected override void ExecuteCore(ConfigurationNode node) { AddNewKeyAlgorithmWizard wizard = new AddNewKeyAlgorithmWizard(); if (wizard.ShowDialog() == DialogResult.OK) { FileKeyAlgorithmStorageProviderWizard fileWizard = new FileKeyAlgorithmStorageProviderWizard(wizard.KeyAlgorithmPair, ServiceProvider); if (fileWizard.ShowDialog() == DialogResult.OK) { base.ExecuteCore(node); FileKeyAlgorithmPairStorageProviderNode pairStorageNode = (FileKeyAlgorithmPairStorageProviderNode)ChildNode; pairStorageNode.DpapiSettings = fileWizard.DpapiSettings; pairStorageNode.File = fileWizard.Path; } } }