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.172 -- Release Build+241430fabc9f8d815f226ef82f939af6835b2b48
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