var xApiKey = "GyaHV300my60rs2ylKug5aUgFnYBj6GrU6V1WE33";
var localStoreDirectory = @"C:\temp";
Scopos.BabelFish.Runtime.Settings.Initialize( xApiKey, localStoreDirectory, false );
public static class Initializer| AutoDownloadNewDefinitionVersions | Gets and Sets the Definition Cache's property to automatically download new definition versions when avaliable from the REST API. |
| UpTime | Returns the uptime of this application. |
| CheckForSharedXApiKey | Checks to see if the user set a shared key as the x-api-key. Provices a warning to the user, both in the log file and console, if true. |
| ClearCache | Clears all cache from the BabelFish library. With option to run the Definition.PreLoad() method to load common Definition files. |
| Initialize(String, Boolean) |
Sets the x-api-key used thorughout Babelfish, and initializes the JSON serializers and deserializers.
To obtain an x-api-key visit Scopos' support pages to learn how. |
| Initialize(String, String, Boolean) |
Sets the x-api-key used thorughout Babelfish, and initializes the JSON serializers and deserializers.
To obtain an x-api-key visit Scopos' support pages to learn how. |
| UpdateLocalStoreDirectory |
Sets the full path to where cached REST API responses, includeing definition files, are stored.
The default path is c:/temp/. The user must have write permission to this directory. |