(REDIS) setValue, getValue활용
using System;
using System.Collections.Generic;
using System.Linq;
using Systehttp://m.Text.Json;
using StackExchange.Redis;
class Program
{
public static void Main(string[] args)
{
REDISCHK nmm = new REDISCHK();
nmm.RUN();
}
}
class REDISCHK
{
public void RUN()
{
RedisStore redis = new RedisStore("localhost:6379");
/*---------------------------------------------------------------------------
// key, value로 저장
redis.SetValue("test1", "ans-test1");
// key로 value를 찾는다.
//Console.WriteLine(redis.GetValue("test1"));
---------------------------------------------------------------------------*/
/*
FILE을 읽어서, KEY=ifReceiver.sender
VALUE=formatText
*/
}
}