DpapiProtectedConfigurationProvider.UseMachineProtection 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 a value that indicates whether the DpapiProtectedConfigurationProvider object is using machine-specific or user-account-specific protection.
public:
property bool UseMachineProtection { bool get(); };
public bool UseMachineProtection { get; }
member this.UseMachineProtection : bool
Public ReadOnly Property UseMachineProtection As Boolean
Property Value
true
if the DpapiProtectedConfigurationProvider is using machine-specific protection; false
if it is using user-account-specific protection.
Remarks
Machine-specific protection is useful for anonymous services but provides less security. User-account-specific protection can be used with services that run with a specific user identity.