in my application i am start capinfos.exe that is part of Wireshark.
in the constructor i am check if Wireshark install on the machine:

```
private string _filePath = "";

public Capinfos(string capturePath)
{
    if (Directory.Exists(@"C:\Program Files (x86)\Wireshark"))
    {
        _capInfos = @"C:\Program Files (x86)\Wireshark\capinfos.exe";
    }
    else if (Directory.Exists(@"C:\Program Files\Wireshark"))
    {
        _capInfos = @"C:\Program Files\Wireshark\capinfos.exe";
    }

    _filePath = capturePath;
}

```

what is the best way to do it and throw an exception if the file does not exist on the machine: please install Wireshark