ACR_ServerCommunicator.ServerVaultConnector.RefreshConfiguration C# (CSharp) Method

RefreshConfiguration() public static method

Refresh configuration in the event that it had changed.
public static RefreshConfiguration ( string ConnectionString, bool VerboseLogging ) : void
ConnectionString string Supplies the connection string for /// the server vault.
VerboseLogging bool Supplies true if verbose logging is /// enabled.
return void
        public static void RefreshConfiguration(string ConnectionString, bool VerboseLogging)
        {
            VerboseLoggingEnabled = VerboseLogging;

            if (ConnectionString == StoreConnectionString)
                return;

            StoreConnectionString = ConnectionString;
            StoreInternal = null;
            ContainerInternal = null;

            FileStoreProvider.DefaultVaultConnectionString = ConnectionString;
        }