CClash.FileCacheStore.MakePath C# (CSharp) Method

MakePath() public method

public MakePath ( string key ) : string
key string
return string
        public string MakePath(string key )
        {
            var tlf = key.Substring(0, 2);
            return Path.Combine(FolderPath, tlf, key);
        }

Same methods

FileCacheStore::MakePath ( string key, string contentFile ) : string

Usage Example

Example #1
0
 public long ReadStat(string statfile)
 {
     try
     {
         var x = System.IO.File.ReadAllText(cache.MakePath(K_Stats, statfile));
         return(Int64.Parse(x));
     }
     catch
     {
         return(0);
     }
 }
All Usage Examples Of CClash.FileCacheStore::MakePath