다음을 통해 공유


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

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

<configuration>
  <system.net>
    <authenticationModules>

구문

<authenticationModules>
</authenticationModules>  

특성 및 요소

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

특성

없음

자식 요소

요소 설명
add 애플리케이션에 인증 모듈을 추가합니다.
clear 애플리케이션에서 모든 인증 모듈을 지웁니다.
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>  

참고 항목