Example #1
0
 /// <summary>
 /// Stores a <see cref="DateTime"/> value as string to the persistent storage.
 /// </summary>
 /// <param name="time">Time.</param>
 /// <param name="ppkey">Key to store the value.</param>
 public static void SetTime(string ppkey, DateTime time)
 {
     StoringSystem.SetString(ppkey, time.ToBinary().ToString());
 }
Example #2
0
 /// <summary>
 /// Sets the value associated with key in the persistent data storage.
 /// </summary>
 /// <param name="key">Key.</param>
 /// <param name="value">Value.</param>
 public static void SetString(string key, string value)
 {
     StoringSystem.SetString(key, value);
 }