■ Path 클래스의 GetTempPath 정적 메소드를 사용해 사용자 임시 디렉토리 경로를 구하는 방법을 보여준다.
▶ 예제 코드 (C#)
1 2 3 4 5 6 7 8 9 |
string userTemporaryDirectoryPath = Path.GetTempPath(); Console.WriteLine(userTemporaryDirectoryPath); /* C:\Users\icodebroker\AppData\Local\Temp\ */ |