Share via


DpapiSymmetricCryptoProviderData.Scope Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Gets or sets the ProtectedData storage scope.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Configuration
Assembly:  Microsoft.Practices.EnterpriseLibrary.Security.Cryptography (in Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.dll)

Syntax

'Declaration
<ConfigurationPropertyAttribute("scope", IsRequired := False, DefaultValue := DataProtectionScope.CurrentUser)> _
PublicPropertyScopeAs DataProtectionScope
[ConfigurationPropertyAttribute("scope", IsRequired = false, DefaultValue = DataProtectionScope.CurrentUser)]
public DataProtectionScope Scope { get; set; }
[ConfigurationPropertyAttribute(L"scope", IsRequired = false, DefaultValue = DataProtectionScope::CurrentUser)]
public:
property DataProtectionScope Scope {
    DataProtectionScope get ();
    voidset (DataProtectionScope value);
}
publicfunction getScope () : DataProtectionScope
publicfunction setScope (value : DataProtectionScope)

Field Value

One of the DataProtectionScope values.

See Also

DpapiSymmetricCryptoProviderData Class

Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Configuration Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.