Ejemplo n.º 1
0
        private string GetDownloadFolderPath(string parentFolderPath)
        {
            var downloadFolderPath = _ioService.PathCombine(parentFolderPath, "Downloads");

            if (!_ioService.DirectoryExists(downloadFolderPath))
            {
                _ioService.CreateDirectory(downloadFolderPath);
            }
            return(downloadFolderPath);
        }
Ejemplo n.º 2
0
 private string GetLogFolderPath(string applicationName)
 {
     return(_ioService.PathCombine(
                _logFolderPath,
                applicationName));
 }