OpenCache Method

Opens the cache.

Syntax

public void OpenCache(string encryptionKey, bool caseSensitive);
Public Sub OpenCache(ByVal EncryptionKey As String, ByVal CaseSensitive As Boolean)

Remarks

This method opens the cache specified by the CacheName property; creating a storage file for it in the directory specified by the Location property if necessary.

To encrypt the cache's pass a non-empty string for the EncryptionKey parameter the first time it's created. The same value will need to be passed anytime the cache is opened again in the future.

The CaseSensitive parameter specifies whether the cache should treat its File Ids as case-sensitive or case-insensitive.

.NET Standard Notes

To call this method in an asynchronous manner call OpenCacheAsync instead. When the method completes (or an error is encountered) the OpenCacheCompleted event will fire.

 
 
Copyright (c) 2020 Callback Technologies, Inc. - All rights reserved.
CBFS Cache 2020 .NET Edition - Version 20.0 [Build 7647]