public void Save() { FileController.SaveAs("coflnet_keyPairs", keys); FileController.SaveAs("signingKeys", signingKeyPairs); }
/// <summary> /// Sets the value. /// Objects save this way have to have DataContract or <see cref="MessagePack.MessagePackObjectAttribute"/> attribute /// </summary> /// <param name="key">Key.</param> /// <param name="value">Value.</param> /// <typeparam name="T">The 1st type parameter.</typeparam> public static void SetValue <T>(string key, T value) { FileController.SaveAs(SaveKeyWithPrefix(key), value); }