DpapiProtectedConfigurationProvider::UseMachineProtection Property

 

Gets a value that indicates whether the DpapiProtectedConfigurationProvider object is using machine-specific or user-account-specific protection.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public:
property bool UseMachineProtection {
	bool get();
}

Property Value

Type: System::Boolean

true if the DpapiProtectedConfigurationProvider is using machine-specific protection; false if it is using user-account-specific protection.

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.

.NET Framework
Available since 2.0
Return to top
Show: