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.143 -- Release Build+524337d392fd5616b12b50022b004322b9e7c330
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