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