How can I implement IHttpSecurity for Webbrowser Control in .NET?
I couldn’t find any examples, all examples are in C++, also MSDN documentation is only for C++
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You are going to have to use COM interop for this. Look for the IID (guid) of the interface in the IDL file (urlmon.idl) and then recreate the interface in code. You are probably going to have to attach the PreserveSig attribute to the OnSecurityProblem interface so that you can return the appropriate error code.