Gemstone Common Library
Show/Hide TOC

# DataProtectionDefineSettings Method

Establishes default settings for the config file.

## Definition

Namespace: Gemstone.Security.Cryptography
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.156 -- Release Build+59006cef9614396d8b79971beebc1091829bcfe4
C#
View Source Request Example

    public static void DefineSettings(
    	Settings settings,
    	string settingsCategory = "CryptographyServices"
    )

VB
View Source Request Example

    Public Shared Sub DefineSettings (
    	settings As Settings,
    	Optional settingsCategory As String = "CryptographyServices"
    )

C++
View Source Request Example

    public:
    static void DefineSettings(
    	Settings^ settings,
    	String^ settingsCategory = L"CryptographyServices"
    )

JavaScript
View Source Request Example

    Gemstone.Security.Cryptography.DataProtection.DefineSettings = function(settings, settingsCategory);

#### Parameters

settings Settings
  Settings instance used to hold configuration.
settingsCategory String (Optional)
  The config file settings category under which the settings are defined.

## See Also

#### Reference

DataProtection Class
Gemstone.Security.Cryptography Namespace