MachineKeySection.ApplicationName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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="")]
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
Property Value
The name of the application. The default is Empty.
- Attributes
Remarks
This property must be set if you set the DataProtectorType property. The property value is passed to the DataProtector.Create factory method.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.