Beispiel #1
0
        private ProductKeys GetProductKeys()
        {
            var keys = client.Get <ProductKeys>(typeof(ProductKeys).FullName);

            if (null == keys)
            {
                keys = new ProductKeys();
            }

            return(keys);
        }
Beispiel #2
0
 private void UpdateProductKeys(ProductKeys keys)
 {
     client.Store(StoreMode.Set, typeof(ProductKeys).FullName, keys);
 }