CORONA- Log File Manager 라이브러리를 만들자 !


CORONA- Log File Manager  라이브러리를 만들자 !

[C#] 실행경로, 시작경로, 현제경로를 가져오는 방법 1. Application.StartupPath - 현재 application이 존재하는 경로 - winform 인 경우에만 사용가능 - 레지스트리 관계없이 실제 실행 파일 - Application.ExcutablePath 와 동일 - string filePath = Application.StartupPaht + @"\\testFile.txt"; 2. System.Environment.CurrentDirectory - 현재 작업 실행되는 경로 - winform 이외의 개발 환경에서도 사용가능 - winform 에서는 "C:\Windows\System32" 경로가 나옴 ( svchost.exe 를 통해 서비스가 등록 되기 때문 ) - System.IO..


원문링크 : CORONA- Log File Manager 라이브러리를 만들자 !