1
0
mirror of https://github.com/mastercodeon314/KsDumper-11.git synced 2024-11-28 00:10:52 +01:00
KsDumper-11/KsDumper11/StartDriver.cs
mastercodeon314 785233a68f v1.3 update.
Updated to KDU v1.3.4
Added new Provider Selector
Updated DarkControls
Many bug fixes
2023-10-06 18:53:56 -06:00

29 lines
732 B
C#

using KsDumper11.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace KsDumper11
{
public class StartDriver
{
public static void Start()
{
bool driverOpen = KsDumperDriverInterface.IsDriverOpen("\\\\.\\KsDumper");
if (!driverOpen)
{
if (File.Exists(KduSelfExtract.AssemblyDirectory + @"\\Providers.json"))
{
KduWrapper wr = new KduWrapper(KduSelfExtract.AssemblyDirectory + @"\Driver\kdu.exe");
wr.LoadProviders();
wr.Start();
}
}
}
}
}