DS4Windows.HidDevices.IsConnected C# (CSharp) Method

IsConnected() public static method

public static IsConnected ( string devicePath ) : bool
devicePath string
return bool
        public static bool IsConnected(string devicePath)
        {
            return EnumerateDevices().Any(x => x.Path == devicePath);
        }