Found some c# which detects USB and parallel :
{Link]

Expect you know C# Richard? Wonder if it works though?
_________________________
I want to share something with you - the three sentences that will get you through life.
Number 1, 'cover for me.'
Number 2, 'oh, good idea, boss.'
Number 3, 'it was like that when I got here'.