aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Controls/WebAppPropertiesControl.xaml.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Controls/WebAppPropertiesControl.xaml.cs')
-rw-r--r--Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Controls/WebAppPropertiesControl.xaml.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Controls/WebAppPropertiesControl.xaml.cs b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Controls/WebAppPropertiesControl.xaml.cs
index 8888dfc02..129550d14 100644
--- a/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Controls/WebAppPropertiesControl.xaml.cs
+++ b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Controls/WebAppPropertiesControl.xaml.cs
@@ -14,6 +14,7 @@ using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Tango.AzureUtils.Database;
+using Tango.AzureUtils.FTP;
using Tango.BL.Entities;
namespace Tango.AzureUtils.UI.Controls
@@ -63,6 +64,16 @@ namespace Tango.AzureUtils.UI.Controls
public static readonly DependencyProperty MachineStudioVersionProperty =
DependencyProperty.Register("MachineStudioVersion", typeof(MachineStudioVersion), typeof(WebAppPropertiesControl), new PropertyMetadata(null));
+ public String MachineServiceVersion
+ {
+ get { return (String)GetValue(MachineServiceVersionProperty); }
+ set { SetValue(MachineServiceVersionProperty, value); }
+ }
+ public static readonly DependencyProperty MachineServiceVersionProperty =
+ DependencyProperty.Register("MachineServiceVersion", typeof(String), typeof(WebAppPropertiesControl), new PropertyMetadata(null));
+
+
+
public bool IsBusy
{
get { return (bool)GetValue(IsBusyProperty); }
@@ -97,6 +108,9 @@ namespace Tango.AzureUtils.UI.Controls
TangoVersion = await databaseManager.GetLatestPPCVersion(app);
MachineStudioVersion = await databaseManager.GetLatestMachineStudioVersion(app);
FseVersion = await databaseManager.GetLatestFSEVersion(app);
+
+ FtpManager ftpManager = new FtpManager(azure);
+ MachineServiceVersion = await ftpManager.GetMachineServiceVersion(app);
}
catch { }
finally