MachineKeySection.ApplicationName 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定應用程式名稱。
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 工廠方法。