共用方式為


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 工廠方法。

適用於