Share via


MachineKeySection.DataProtectorType 속성

정의

데이터 보호자 형식의 이름을 가져오거나 설정합니다. 기본값은 Empty입니다.

public:
 property System::String ^ DataProtectorType { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.WhiteSpaceTrimStringConverter))]
[System.Configuration.ConfigurationProperty("dataProtectorType", DefaultValue="")]
public string DataProtectorType { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.WhiteSpaceTrimStringConverter))>]
[<System.Configuration.ConfigurationProperty("dataProtectorType", DefaultValue="")>]
member this.DataProtectorType : string with get, set
Public Property DataProtectorType As String

속성 값

데이터 보호자 형식의 이름입니다.

특성

설명

ASP.NET에 대 한 사용자 지정 데이터 보호 알고리즘을 지정 하려면 설정 합니다 MachineKeySection.CompatibilityMode 속성을 Framework45 이 속성에서 파생 된 클래스를 나타내는 문자열을 설정 하 고는 DataProtector 클래스입니다. 이 문자열에 해당 합니다 providerClass 정적에 전달 되는 매개 변수 DataProtector.Create 팩터리 메서드입니다. 지정 하는 클래스를 사용해 합니다 MachineKey.Protect 하 고 MachineKey.Unprotect 메서드를 지정 하지 않은 경우에는 Framework45 옵션.

이 속성을 설정 하는 경우 설정 해야 합니다 ApplicationName 속성입니다.

적용 대상