mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-25 08:01:49 +01:00
Merge branch 'jay' into udpserver
This commit is contained in:
commit
53cd5d48d9
@ -159,7 +159,16 @@ namespace DS4Windows
|
|||||||
public void ScanPurgeHidGuard()
|
public void ScanPurgeHidGuard()
|
||||||
{
|
{
|
||||||
RegistryKey tempkey = Registry.LocalMachine.OpenSubKey(@"SYSTEM\CurrentControlSet\Services\HidGuardian\Parameters\Whitelist");
|
RegistryKey tempkey = Registry.LocalMachine.OpenSubKey(@"SYSTEM\CurrentControlSet\Services\HidGuardian\Parameters\Whitelist");
|
||||||
string[] subkeys = tempkey.GetSubKeyNames();
|
string[] subkeys = null;
|
||||||
|
if (tempkey != null)
|
||||||
|
{
|
||||||
|
subkeys = tempkey.GetSubKeyNames();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
subkeys = new string[0];
|
||||||
|
}
|
||||||
|
|
||||||
bool processExists = false;
|
bool processExists = false;
|
||||||
for (int ind = 0, arlen = subkeys.Length; ind < arlen; ind++)
|
for (int ind = 0, arlen = subkeys.Length; ind < arlen; ind++)
|
||||||
{
|
{
|
||||||
|
@ -33,7 +33,7 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.4.121")]
|
[assembly: AssemblyVersion("1.4.123")]
|
||||||
[assembly: AssemblyFileVersion("1.4.121")]
|
[assembly: AssemblyFileVersion("1.4.123")]
|
||||||
[assembly: NeutralResourcesLanguage("en")]
|
[assembly: NeutralResourcesLanguage("en")]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user