DSACryptoServiceProvider.UseMachineKeyStore 속성

정의

사용자 프로필 저장소 대신 컴퓨터의 키 저장소에 키를 유지할지 여부를 나타내는 값을 가져오거나 설정합니다.

public:
 static property bool UseMachineKeyStore { bool get(); void set(bool value); };
public static bool UseMachineKeyStore { get; set; }
member this.UseMachineKeyStore : bool with get, set
Public Shared Property UseMachineKeyStore As Boolean

속성 값

Boolean

키를 컴퓨터 키 저장소에 유지해야 하면true 이고, 그렇지 않은 경우 false입니다.

설명

이 속성을 true로 설정하는 것은 개체에 플래그를 UseMachineKeyStore 전달하는 것과 CspParameters 같습니다. 합니다 UseMachineKeyStore 속성은 현재 애플리케이션 도메인의 모든 코드에 적용 됩니다 하는 동안는 CspParameters 개체가 명시적으로 참조 하는 클래스에만 적용 합니다. 이러한 설정은 사용자 프로필이 로드되지 않은 계정으로 가장하거나 실행할 때 유용합니다.

적용 대상

추가 정보