Share via


ProtectedConfiguration.DataProtectionProviderName フィールド

定義

データ保護プロバイダーの名前。

public: System::String ^ DataProtectionProviderName;
public const string DataProtectionProviderName;
val mutable DataProtectionProviderName : string
Public Const DataProtectionProviderName As String 

フィールド値

次の例では、 プロパティを使用 DataProtectionProviderName して、現在のデータ保護プロバイダーの名前を取得する方法を示します。

// Get the current provider name.
string dataProtectionProviderName =
   ProtectedConfiguration.DataProtectionProviderName;
Console.WriteLine(
    "Data protection provider name: {0}",
     dataProtectionProviderName);
' Get the current provider name.
  Dim dataProtectionProviderName As String = _
  ProtectedConfiguration.DataProtectionProviderName
  Console.WriteLine( _
  "Data protection provider name: {0}", _
  dataProtectionProviderName)

注釈

これは、構成セクションを保護するためにシステムが使用できるデータ保護プロバイダーの名前を含む定数文字列変数です。

適用対象

こちらもご覧ください