MachineKeySection.ApplicationName 属性
定义
获取或设置应用程序的名称。Gets or sets the name of the application.
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=Mono.Cecil.CustomAttributeArgument)]
public string ApplicationName { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.WhiteSpaceTrimStringConverter))>]
[<System.Configuration.ConfigurationProperty("applicationName", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
member this.ApplicationName : string with get, set
Public Property ApplicationName As String
属性值
应用程序的名称。The name of the application. 默认值为 Empty。The default is Empty.
- 属性
注解
如果设置了属性,则必须设置此属性 DataProtectorType 。This property must be set if you set the DataProtectorType property. 属性值将传递给 DataProtector.Create 工厂方法。The property value is passed to the DataProtector.Create factory method.