posted by 방랑군 2012. 1. 7. 17:28
A
1. WebApplication or WebSite 에서는
this.Context 로 HttpContext 로 제어.

=> this.Context.Request.PhysicalApplicationPath

2. Windows 에서는 HttpRequest 에서 호출으로 제어.

-> Application.StartupPath
 

'PP > TIP' 카테고리의 다른 글

제네릭 처리기를 이용하여 자동가입방지 폼 구현  (0) 2012.01.07
C# 인터넷 연결 체크하기  (0) 2012.01.07
자동 업데이트  (0) 2012.01.07
this.Invoke 관련  (0) 2012.01.06
String <-> byte[] 변환  (0) 2012.01.06