How to mark COM Visible for auto generated c-sharp class?

James J 586 Reputation points
2022-04-12T11:07:04.427+00:00

I am in process of adding webView browser control to launch the Javascript. Javascript makes SOAP call through C# interop class. But, the wsdl associated c# reference file is auto generated. To communicate JS and Webview the c# class should be COM visible. The question here is, How I can mark COM visible for auto generated C# class?

Thanks

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,650 questions
{count} votes