DataProtector.Create(String, String, String, String[]) 메서드

정의

데이터 보호자의 지정된 클래스 이름, 애플리케이션 이름, 주 목적 및 특정 목적을 사용하여 데이터 보호자 구현의 인스턴스를 만듭니다.

public:
 static System::Security::Cryptography::DataProtector ^ Create(System::String ^ providerClass, System::String ^ applicationName, System::String ^ primaryPurpose, ... cli::array <System::String ^> ^ specificPurposes);
public static System.Security.Cryptography.DataProtector Create (string providerClass, string applicationName, string primaryPurpose, params string[] specificPurposes);
static member Create : string * string * string * string[] -> System.Security.Cryptography.DataProtector
Public Shared Function Create (providerClass As String, applicationName As String, primaryPurpose As String, ParamArray specificPurposes As String()) As DataProtector

매개 변수

providerClass
String

데이터 보호자의 클래스 이름입니다.

applicationName
String

애플리케이션 이름입니다.

primaryPurpose
String

보호된 데이터의 주요 용도입니다.

specificPurposes
String[]

보호되는 데이터의 특정 용도입니다.

반환

DataProtector

데이터 보호자 구현 개체입니다.

예외

providerClass이(가) null인 경우

적용 대상