Share via


MachineKeySection.ApplicationName 屬性

定義

取得或設定應用程式的名稱。

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

屬性值

應用程式的名稱。 預設為 Empty

屬性

備註

如果您設定 屬性,則必須設定這個 DataProtectorType 屬性。 屬性值會傳遞至 DataProtector.Create Factory 方法。

適用於