개정판 6707a5c7
issue #680 temp file save add
KCOM/App.xaml.cs | ||
---|---|---|
62 | 62 |
return Newtonsoft.Json.JsonConvert.DeserializeObject<OpenProperties>(jsonBack); |
63 | 63 |
} |
64 | 64 |
|
65 |
//20180921 LJY |
|
66 |
//public ServiceDeepViewClient _Client; |
|
67 |
|
|
68 |
|
|
69 | 65 |
private string versionPath = null; |
70 | 66 |
|
71 | 67 |
protected override void OnStartup(StartupEventArgs e) |
... | ... | |
136 | 132 |
#else |
137 | 133 |
_EndPoint = new EndpointAddress(string.Format("{0}/ServiceDeepView.svc", sBaseServiceURL)); |
138 | 134 |
#endif |
139 |
|
|
140 |
//20180913 LJY 어셈블리 버전 |
|
141 |
//string assemblyVersion = Assembly.LoadFile('your assembly file').GetName().Version.ToString(); |
|
142 |
//string fileVersion = FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location).FileVersion; |
|
143 |
//string productVersion = FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location).ProductVersion; |
|
144 |
//_Client = new ServiceDeepViewClient(App._binding, App._EndPoint); |
|
145 |
//var serverVersion = _Client.GetCurrentVersion(); |
|
146 | 135 |
|
147 | 136 |
if (Environment.Is64BitProcess == true) //64 bit machine |
148 | 137 |
{ |
... | ... | |
163 | 152 |
|
164 | 153 |
if (assemblyVersion != node.InnerText) // node.InnerText 가 null이면 catch로 빠짐 |
165 | 154 |
{ |
166 |
if(MessageBox.Show("Ver. " + node.InnerText + " 업데이트가 있습니다.\r\nSmartUpdate를 실행합니다.", "MARKUS", MessageBoxButton.OKCancel) == MessageBoxResult.OK) |
|
155 |
//if(MessageBox.Show("Ver. " + node.InnerText + " 업데이트가 있습니다.\r\nSmartUpdate를 실행합니다.", "MARKUS", MessageBoxButton.OKCancel) == MessageBoxResult.OK) |
|
156 |
//{ |
|
157 |
if(MessageBox.Show("Ver. " + node.InnerText , "MARKUS", MessageBoxButton.OKCancel) == MessageBoxResult.OK) |
|
167 | 158 |
{ |
168 | 159 |
UpdateCheck(e); |
169 | 160 |
} |
... | ... | |
188 | 179 |
} |
189 | 180 |
catch (Exception ex) |
190 | 181 |
{ |
191 |
MessageBox.Show("에러 메시지" + ex.Message);
|
|
182 |
MessageBox.Show("Err" + ex.Message);
|
|
192 | 183 |
} |
193 | 184 |
} |
194 | 185 |
|
내보내기 Unified diff