Credentials Store (または Windows 8 ではVaultと呼ばれる)にクエリを実行し、ログイン データを取得したいだけです。この場合、MSDN はまったく役に立ちません。また、C++ P/Invokeアプローチも必要ありません。
ここで同様の質問が数回行われたことは知っていますが、私の場合、これらの解決策はどれも機能しません。私は Metro アプリ プログラミングを使用していないため、PasswordVault
(見た目のように) 利用できないものがあります。簡単な C# WPF デスクトップ アプリケーションを作成するだけです。
理想的には、複数の Windows バージョンで動作するはずですが、Windows 8 が推奨されます。
より具体的には、Outlook の CRM プラグインから保存されたデータをクエリして、ユーザーが資格情報を要求することなく、アプリケーションが自動的に CRM サーバーにログインするようにしたいと考えています。つまり、これが可能であれば...
では、Windows Credentials Store にアクセスするにはどうすればよいでしょうか?