static void RedisNativeClientInterface() { using (IRedisNativeClient client = new RedisClient()) { client.Set("urn:messages:1", Encoding.UTF8.GetBytes("Hello C# World!")); } using (IRedisNativeClient client = new RedisClient()) { var result = Encoding.UTF8.GetString(client.Get("urn:messages:1")); Console.WriteLine("Message: {0}", result); var delkeys = client.Del("urn:messages:1"); Console.WriteLine("Key {0} deleted.", delkeys); } }