.NET implementation of IHttpSecurity (managed code)

How can I implement IHttpSecurity for Webbrowser control in .NET?

I couldn't find any examples, all examples are in C ++, also the MSDN documentation is for C ++ only

+1


source to share


1 answer


You will need 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 will probably have to bind the PreserveSig attribute to the OnSecurityProblem interface so that you can return the appropriate error code.



+2


source







All Articles