Abstractions.Settings.DynamicSettings.SetDefaultEncryptedSetting C# (CSharp) Method

SetDefaultEncryptedSetting() public method

public SetDefaultEncryptedSetting ( string name, string value, byte optionalEntropy ) : void
name string
value string
optionalEntropy byte
return void
        public void SetDefaultEncryptedSetting(string name, string value, byte[] optionalEntropy)
        {
            try
            {
                GetEncryptedSetting(name, optionalEntropy);
            }
            catch (KeyNotFoundException)
            {
                SetEncryptedSetting(name, value, optionalEntropy);
            }
        }

Same methods

DynamicSettings::SetDefaultEncryptedSetting ( string name, string value ) : void