private static DateTime UpdateSettings(out string configurationErrorsException) { var currentUpdateDateTime = DateTime.Now; var currentUpdateDateTimeString = currentUpdateDateTime.ToBinary().ToString(CultureInfo.InvariantCulture); ApplicationSettingsProvider.TryAddOrUpdateApplicationSettings("UpdateDateTime", currentUpdateDateTimeString, out string configurationErrorsExceptionInternal); configurationErrorsException = configurationErrorsExceptionInternal; return(currentUpdateDateTime); }
public static void SetAudioPath(string userChosenPath) { ApplicationSettingsProvider.TryAddOrUpdateApplicationSettings("ApplicationStoragePath", userChosenPath + "\\", out string configurationErrorsException); }