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.153 -- Release Build+cfa0f66eec3b78014206cf98a152ef9e72791f21
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