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[]

보호된 데이터에 대한 특정 용도입니다.

반품

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

예외

providerClassnull입니다.

적용 대상