コード例 #1
0
        private SharedFolderMapping GetPhysicalPath(OsPath sharedFolder, DownloadStationSettings settings)
        {
            try
            {
                return(_proxy.GetSharedFolderMapping(sharedFolder.FullPath, settings));
            }
            catch (Exception ex)
            {
                _logger.Warn(ex, "Failed to get shared folder {0} from Disk Station {1}:{2}", sharedFolder, settings.Host, settings.Port);

                throw;
            }
        }