티스토리 뷰
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices; // 추가해주시고
namespace ConsoleApplication1
{
class Program
{
// DllImport
[DllImport("kernel32")]
private static extern long WritePrivateProfileString(string section, string key, string val, string filePath);
[DllImport("kernel32")]
private static extern int GetPrivateProfileString(string section, string key, string def, StringBuilder retVal, int size, string filePath);
static void Main(string[] args)
{
// 파일 쓰기 부분
WritePrivateProfileString("INFO", "ID", "test", @"C:\Setting.ini");
//파일 읽기 부분
StringBuilder temp = new StringBuilder(255);
GetPrivateProfileString("INFO", "ID", "", temp, 255, @"C:\Setting.ini");
}
}
}
- Total
- Today
- Yesterday
- NET FRAMEWORK
- C# textbox 커서 마지막
- 이 행은
- 이베스트
- 베란다 텃밭
- c# SpeechSynthesizer
- 스털링엔진
- 앉은뱅이 방울토마토
- MySQL
- 인삼키우기
- 복호화
- C# textbox 커서 위치
- 드론
- 방울토마토
- 코딩
- Xingapi
- imemode
- c# 음성
- 베란타
- C# textbox 커서 시작
- framework
- c# Speech
- 암호화
- ArgumentException
- 스털링
- ESP32
- c#
- 시스템트레이딩
- 베란다 방울토마토
- C# 마우스 폼이동
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |