개정판 5622deac
issue #00000 dig appcast 추가
Change-Id: I96b46b734bcae1a2df07e5fd5e705284cb18770d
KCOM/App.xaml.cs | ||
---|---|---|
26 | 26 |
public string UserID { get; set; } |
27 | 27 |
public int Mode { get; set; } |
28 | 28 |
} |
29 |
public static OpenProperties ParamDecoding(string DecodingText, System.Text.Encoding oEncoding = null) |
|
30 |
{ |
|
31 |
if (oEncoding == null) |
|
32 |
oEncoding = System.Text.Encoding.UTF8; |
|
33 |
|
|
34 |
byte[] byteArray = Convert.FromBase64String(DecodingText); |
|
35 |
|
|
36 |
string jsonBack = oEncoding.GetString(byteArray); |
|
37 | 29 |
|
38 |
return Newtonsoft.Json.JsonConvert.DeserializeObject<OpenProperties>(jsonBack); |
|
39 |
} |
|
40 | 30 |
/// <summary> |
41 | 31 |
/// App.xaml에 대한 상호 작용 논리 |
42 | 32 |
/// </summary> |
... | ... | |
117 | 107 |
|
118 | 108 |
public static IKCOM.KCOM_SystemInfo SystemInfo { get; set; } |
119 | 109 |
|
110 |
public static OpenProperties ParamDecoding(string DecodingText, System.Text.Encoding oEncoding = null) |
|
111 |
{ |
|
112 |
if (oEncoding == null) |
|
113 |
oEncoding = System.Text.Encoding.UTF8; |
|
114 |
|
|
115 |
byte[] byteArray = Convert.FromBase64String(DecodingText); |
|
116 |
|
|
117 |
string jsonBack = oEncoding.GetString(byteArray); |
|
120 | 118 |
|
119 |
return Newtonsoft.Json.JsonConvert.DeserializeObject<OpenProperties>(jsonBack); |
|
120 |
} |
|
121 | 121 |
|
122 | 122 |
private string versionPath = null; |
123 | 123 |
//public SplashScreen splash = new SplashScreen("splash.png"); |
... | ... | |
459 | 459 |
await SplashScreenAsnyc(); |
460 | 460 |
} |
461 | 461 |
} |
462 |
|
|
463 |
|
|
462 | 464 |
private string Authenticate(string baseUri) |
463 | 465 |
{ |
464 | 466 |
string result = null; |
내보내기 Unified diff