Example #1
0
        private static void SavePrivateKey(string key)
        {
            var item = new Token(key);

            FileLoader.Write(item, privateKeyPath);
        }
Example #2
0
 private static Token LoadPrivateKey()
 {
     return(FileLoader.Read <Token>(privateKeyPath));
 }
Example #3
0
        private static void SaveToken(string token)
        {
            var item = new Token(token);

            FileLoader.Write(item, tokenPath);
        }
Example #4
0
 private static Token LoadToken()
 {
     return(FileLoader.Read <Token>(tokenPath));
 }
Example #5
0
 private static void SaveData()
 {
     FileLoader.Write(dataLst, configPath);
 }
Example #6
0
 private static void LoadData()
 {
     dataLst = FileLoader.ReadToList <ConfigItem>(configPath);
 }