Example #1
0
        public Task <DownloadInfo> DownloadImages
        (
            string authenticationCookie,
            RemoteConnection server,
            string client,
            string PatientID,
            string StudyInstanceUID,
            string SeriesInstanceUID,
            string SOPInstanceUID,
            ExtraOptions extraOptions
        )
        {
            var userName = AuthHandler.Authorize(authenticationCookie, PermissionsTable.Instance.CanDownloadImages);

            return(Task.Factory.StartNew(() => _addin.DownloadImages(userName, server as PACSConnection, "LTSTORAGESERVER", PatientID, StudyInstanceUID, SeriesInstanceUID, SOPInstanceUID, null != extraOptions ? extraOptions.UserData : "")));
        }
Example #2
0
        public DownloadInfo DownloadImages
        (
            string authenticationCookie,
            PACSConnection server,
            string client,
            string PatientID,
            string StudyInstanceUID,
            string SeriesInstanceUID,
            string SOPInstanceUID,
            ExtraOptions extraOptions
        )
        {
            string userName;

            userName = ServiceUtils.Authorize(authenticationCookie, PermissionsTable.Instance.CanDownloadImages);

            return(_addin.DownloadImages(userName, server, "LTSTORAGESERVER", PatientID, StudyInstanceUID, SeriesInstanceUID, SOPInstanceUID, null != extraOptions?extraOptions.UserData:""));
        }