diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-01-24 13:28:53 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-01-24 13:28:53 +0200 |
| commit | 7fff53b4e158212572dd0d83b5628e799e05ba01 (patch) | |
| tree | 05932505d589d261515657241d53072af381d108 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Update/MachineStudioUpdateService.cs | |
| parent | ecb6665c860f8d7270af9cf8eefaf9ff05e54d62 (diff) | |
| download | Tango-7fff53b4e158212572dd0d83b5628e799e05ba01.tar.gz Tango-7fff53b4e158212572dd0d83b5628e799e05ba01.zip | |
Implemented forced environment version in machine studio.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Update/MachineStudioUpdateService.cs')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Update/MachineStudioUpdateService.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Update/MachineStudioUpdateService.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Update/MachineStudioUpdateService.cs index 5b90cb095..79dd2ec96 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Update/MachineStudioUpdateService.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Update/MachineStudioUpdateService.cs @@ -42,5 +42,10 @@ namespace Tango.MachineStudio.Common.Update { return SettingsManager.Default.GetOrCreate<MachineStudioSettings>().GetMachineServiceAddress() + "/api/MachineStudio/"; } + + public Task<DownloadLatestVersionResponse> DownloadLatestVersion(DownloadLatestVersionRequest request) + { + return _client.PostJson<DownloadLatestVersionRequest, DownloadLatestVersionResponse>(GetAddress() + "DownloadLatestVersion", request); + } } } |
