Exemple #1
0
 public long GetTtl(string keyName)
 {
     using (var client = new RedisNativeClient(ConfigurationManager.AppSettings["RedisServer"]))
     {
         return(client.Ttl(keyName));
     }
 }