개정판 99e8e943
issue #000: error message 출력 시 escape 문자 치환 정규식 추가.
Change-Id: Ief8f088ff6befb3beff4d0796fca7ab36bf230f8
CommonLib/Common.cs | ||
---|---|---|
5 | 5 |
using System.Runtime.InteropServices; |
6 | 6 |
using System.Security.Cryptography; |
7 | 7 |
using System.Text; |
8 |
using System.Text.RegularExpressions; |
|
8 | 9 |
using System.Threading.Tasks; |
9 | 10 |
|
10 | 11 |
namespace CommonLib |
... | ... | |
107 | 108 |
GetPrivateProfileString(section, key, def, strbuilder, 1024, Path.Combine(AppDataFolder, "MARKUS.ini")); |
108 | 109 |
byte[] byte64 = Convert.FromBase64String(strbuilder.ToString()); |
109 | 110 |
|
110 |
return Encoding.UTF8.GetString(byte64);
|
|
111 |
return Regex.Unescape(Encoding.UTF8.GetString(byte64));
|
|
111 | 112 |
} |
112 | 113 |
/// <summary> |
113 | 114 |
/// 서버에 설치된 Service ini 의 Connection String 을 참조 |
내보내기 Unified diff