Question

Does it support Dotnet 6 to invoke the API within dll?

  • 21 November 2022
  • 1 reply
  • 2 views

We have an application base on .Net framework 4, and we invoked some APIs within FMEObjectsDotNet4.dll to run fmw file. Currently, we are developing a new version application with .Net 6. My question is how to invoke the API in .Net 6? Thank you.


1 reply

Invoking APIs within a DLL in .Net 6 is definitely doable. In fact, .Net 6 has added some new features and enhancements that may make it even easier for you to do so. One way to invoke the API is to use P/Invoke (Platform Invoke), which is a built-in mechanism in .Net that allows you to call native code from managed code. You can also use .Net 6's new interop features like the "NativeLibrary" class to load the DLL and invoke its APIs. If you need any further assistance, feel free to check out https://www.nwitservices.com/services/law-firm-support for more information. They offer professional recovery services and can guarantee results.

Reply