개정판 cbcc1a75
issue #00000 markup 바로가기 페이지 변경시 포커스 안 가는 현상 수정/확대범위 수정
Change-Id: If4d9e7f2a2915f7c491bcd46277800b7f833f3d3
CommonLib/Common.cs | ||
---|---|---|
13 | 13 |
public class Common |
14 | 14 |
{ |
15 | 15 |
[DllImport("kernel32")] |
16 |
private static extern int GetPrivateProfileString(string section, string key, string def, StringBuilder retVal, int size, string filePath);
|
|
16 |
public static extern int GetPrivateProfileString(string section, string key, string def, StringBuilder retVal, int size, string filePath);
|
|
17 | 17 |
|
18 | 18 |
[DllImport("kernel32")] |
19 |
private static extern long WritePrivateProfileString(string section, string key, string val, string filePath);
|
|
19 |
public static extern long WritePrivateProfileString(string section, string key, string val, string filePath);
|
|
20 | 20 |
|
21 | 21 |
public static string AppStartFolder |
22 | 22 |
{ |
... | ... | |
143 | 143 |
return Decrypt(strbuilder.ToString(), "Doftech1073#"); |
144 | 144 |
} |
145 | 145 |
|
146 |
private static string Decrypt(string textToDecrypt, string key)
|
|
146 |
public static string Decrypt(string textToDecrypt, string key)
|
|
147 | 147 |
{ |
148 | 148 |
RijndaelManaged rijndaelCipher = new RijndaelManaged(); |
149 | 149 |
rijndaelCipher.Mode = CipherMode.CBC; |
내보내기 Unified diff