C#から外部Windowsコンソールアプリケーションを自動化する必要があります。アプリケーションは基本的に外部デバイスへのインターフェースです。アプリケーションを呼び出すと、認証を求められます。つまり、「Enter password:」のようなプロンプトでパスワードを入力するように求められます。現在、インタラクティブなパスワードプロンプトなしで実行するようにこのアプリケーションを構成する方法はありません。
したがって、プロンプトが表示されるたびにパスワードを送信し、外部デバイスで実行されて出力を取得するコマンドを起動することで、C#から同じことを自動化したいと思います。私はプロセスクラスについて知っていて、この目的のためにパイプを使用できるようないくつかのポインターを持っています(わからない?)。
私はこれからの助け/方向性を探す前にこの種の自動化を扱ったことがないので。
前もって感謝します。