다음을 통해 공유


<authenticationModules> 요소(네트워크 설정)

네트워크 요청을 인증하는 데 사용되는 모듈을 지정합니다.

<구성>
   <system.net>
     <authenticationModules>

문법

<authenticationModules>
</authenticationModules>

특성 및 요소

다음의 섹션은 특성, 자식 요소 및 부모 요소에 대해 설명합니다.

Attributes

없음.

자식 요소

요소 설명
add 애플리케이션에 인증 모듈을 추가합니다.
지우기 애플리케이션에서 모든 인증 모듈을 지웁니다.
remove 애플리케이션에서 인증 모듈을 제거합니다.

부모 요소

요소 설명
system.net .NET Framework가 네트워크에 연결하는 방법을 지정하는 설정을 포함합니다.

비고

요소는 authenticationModule 서버로 인증 프로세스를 수행하는 인증 모듈을 지정합니다. 인증 모듈은 인터페이스를 IAuthenticationModule 구현해야 합니다.

구성 파일

이 요소는 애플리케이션 구성 파일 또는 컴퓨터 구성 파일(Machine.config)에서 사용할 수 있습니다.

예시

다음 예제에서는 인증 모듈을 사용하도록 설정합니다. Version 및 PublicKeyToken의 값을 지정된 모듈에 대한 올바른 값으로 바꿔야 합니다.

<configuration>
  <system.net>
    <authenticationModules>
      <add type="System.Net.DigestClient, System, Version=2.0.3600.0,
                 Culture=neutral, PublicKeyToken=b77a5c561934e089" />
    </authenticationModules>
  </system.net>
</configuration>

참고하십시오