private DownloadState GetDownloadFileState(ServerKey key) { //if (_downloadManager_v1 != null) // return _downloadManager_v1.GetDownloadFileState(key); if (_downloadManager != null) { return(_downloadManager.GetDownloadFileState(key)); } else { return(DownloadState.NotDownloaded); } }