Documentation
Table of Contents

Method Build

Namespace
IntentSharp
Assembly
IntentSharp.dll

Build()

Builds the client. The license key is checked here, once. It is LicenseKey, or, when that is not set, the INTENTSHARP_LICENSE_KEY environment variable. A paid key whose maintenance period ended before this build was released throws LicenseException (an evaluation key never fails this way), as do a missing key, an invalid key and an ended evaluation when FailWhenUnlicensed is set. Every other state builds the client and logs a notice.

public IntentClient Build()

Returns

IntentClient

Exceptions

LicenseException

The license stops the client from being built, as described above. No client, memory or judge is created and no notice is logged. Providers already given to the builder are left as they are (not disposed), so the builder can be used again with another key.