public string DownloadFile(string systemuid, string projectname, int workinglayer, bool isrevision) { m_ComosSession.SetCurrentProjectAndWorkingOverlay(projectname, workinglayer); //TResult<string> result = new TResult<string>(); string pathToFile = m_ComosSession.DownloadFile(systemuid, isrevision); //if (pathToFile != "") //{ // result.Status = true; // result.data = pathToFile; //}else //{ // result.Status = false; //} return(pathToFile); }