의 app.config 섹션 값,내가 환경 섹션을 얻기 위해 아래와 같이하려고 내가 app.config에 아래와 같이이
<configuration>
<environment>
<add key="security" value="1"/> -- I want to change this value to 3
</environment>
</configuration>
,
Configuration config = ConfigurationManager.OpenExeConfiguration(exePath);
var environment = config.GetSection("environment");
환경 변수를하지 않습니다를 수정하는 방법 자식 요소가 값을 수정하게하는 충분한 옵션을 제공하십시오. 어느 누구도이 일에서 나를 도울 수는 없을 것입니다.
[이] (http://stackoverflow.com/questions/8785502/storing-remember-me-information-locally-c-sharp-total-newbeginner/8785646) 질문 – Shai
어떤 종류의 환경 '설정 섹션? – Oded
@Oded 그것은 어떤 타입도 가지고 있지 않습니다. – Lamps