markus / FinalService / KCOM_FinalService / CommonLib / Common.cs @ 43d99d26
이력 | 보기 | 이력해설 | 다운로드 (645 Bytes)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.IO; |
4 |
using System.Linq; |
5 |
using System.Runtime.InteropServices; |
6 |
using System.Text; |
7 |
using System.Threading.Tasks; |
8 |
|
9 |
namespace CommonLib |
10 |
{ |
11 |
public class Common |
12 |
{ |
13 |
[DllImport("kernel32")] |
14 |
public static extern int GetPrivateProfileString(string section, string key, string def, StringBuilder retVal, int size, string filePath); |
15 |
|
16 |
public static string AppDataFolder |
17 |
{ |
18 |
get |
19 |
{ |
20 |
return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "MARKUS"); |
21 |
} |
22 |
} |
23 |
} |
24 |
} |