Bearbeiten

Freigeben über


DpapiProtectedConfigurationProvider.UseMachineProtection Property

Definition

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.

Applies to