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.163 -- Release Build+087b6813ba03894bf4bfe2466a2a63a9702d9bb9
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