Add .NET implementation of check_pid
Catch InvalidOperationException as well
Merge pull request #6338 from aminb/cli-check_pid

Add .NET implementation of check_pid