public static RedisValue[] GetKeys(RedisKey key) { RedisValue[] result = SharedCache.Instance.GetWriteConnection(key) .GetDatabase(SharedCache.Instance.Db) .HashKeys(key); return result; }