Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
.NETでWebブラウザ制御用のIHttpSecurityを実装するにはどうすればよいですか?
例が見つかりませんでした。すべての例はC++であり、MSDNドキュメントはC++専用です。
これには COM 相互運用機能を使用する必要があります。IDL ファイル (urlmon.idl) でインターフェイスの IID (guid) を探し、コードでインターフェイスを再作成します。適切なエラー コードを返すことができるように、おそらく PreserveSig 属性を OnSecurityProblem インターフェイスにアタッチする必要があります。