개정판 566f0526
Image 밝기 & 색 농도 조절
Change-Id: I80feb7c7a64fbaf8d1d85a32bdf8baa813be2d4c
KCOM/App.xaml.cs | ||
---|---|---|
103 | 103 |
|
104 | 104 |
try |
105 | 105 |
{ |
106 |
#region // DNS 체크 |
|
107 |
|
|
108 |
string localdomain = CommonLib.Common.GetConfigString("HOST_DOMAIN", "DOMAIN", ""); |
|
109 |
|
|
110 |
var hostEntry = CommonLib.DNSHelper.GetHostEntryTask(); |
|
111 |
|
|
112 |
if (hostEntry == null) |
|
113 |
{ |
|
114 |
System.Diagnostics.Debug.WriteLine("(hostEntry == null"); |
|
115 |
isExternal = true; |
|
116 |
} |
|
117 |
else if (!hostEntry.HostName.EndsWith(localdomain)) |
|
118 |
{ |
|
119 |
// 외부 사용자 |
|
120 |
isExternal = true; |
|
121 |
} |
|
122 |
#endregion |
|
123 |
|
|
106 | 124 |
splashScreen.Show(); |
107 | 125 |
|
108 | 126 |
/// create log database and table |
... | ... | |
178 | 196 |
//Support.SetLicense(); |
179 | 197 |
|
180 | 198 |
string sBaseServiceURL = string.Empty;//CommonLib.Common.GetConfigString("BaseClientAddress", "URL", ""); |
181 |
string localdomain = CommonLib.Common.GetConfigString("HOST_DOMAIN", "DOMAIN", ""); |
|
182 |
|
|
183 |
var hostEntry = CommonLib.DNSHelper.GetHostEntryTask(); |
|
184 |
|
|
185 |
if (hostEntry == null || !hostEntry.HostName.EndsWith(localdomain)) |
|
186 |
{ |
|
187 |
// 외부 사용자 |
|
188 |
isExternal = true; |
|
189 |
} |
|
199 |
|
|
190 | 200 |
#if DEBUG |
191 | 201 |
//sBaseServiceURL = CommonLib.Common.GetConfigString("BaseClientAddress", "URL", "", isExternal); |
202 |
System.Diagnostics.Debug.WriteLine("sBaseServiceURL"); |
|
192 | 203 |
sBaseServiceURL = CommonLib.Common.GetConfigString("Debug_BaseClientAddress", "URL", "", isExternal); |
193 | 204 |
#else |
194 | 205 |
sBaseServiceURL = CommonLib.Common.GetConfigString("BaseClientAddress", "URL", "", isExternal); |
내보내기 Unified diff