Standard factory for VeriplaceClient instances, obtaining the client configuration from the current application settings (web.config or app.config).

Namespace:  Veriplace.Client.Factory
Assembly:  Veriplace.Client (in Veriplace.Client.dll) Version: 1.7.0.25986 (1.7.0.0)

Syntax

C#
public class DefaultClientFactory : IClientFactory
Visual Basic (Declaration)
Public Class DefaultClientFactory _
	Implements IClientFactory
Visual C++
public ref class DefaultClientFactory : IClientFactory

Remarks

The <applicationSettings> element of your configuration file must contain a <Veriplace.Properties.Settings> section. The properties in this section have the same names and meanings as the corresponding properties in ClientConfiguration, with the following exceptions:

You must always specify ConsumerKey and ConsumerSecret; all other properties are optional and have default values as described in ClientConfiguration.

CallbackFactory, TokenStore, and Redirector cannot be configured in application settings, but can be set in the DefaultClientFactory's ClientProperties object before constructing the client.

Inheritance Hierarchy

System..::.Object
  Veriplace.Client.Factory..::.DefaultClientFactory

See Also