Hi @Atul Nikam ,Welcome to Microsoft Q&A,
Using native ahead-of-time (AOT) compilation may be a way to improve security because it makes it more difficult to reverse engineer the code because the compiled code is more messy than traditional JIT (just-in-time) compilation. However, it is important to note that there is no way to completely prevent reverse engineering.
Yes, you can call native AOT-published libraries from managed C# code.
Microsoft will regularly update its development roadmap. Please pay attention to official announcements. This forum does not support this.
Yes, complex structures such as DataTables and DataSets can be marshalled to be passed from native AOT to managed C# code. However, you may need to write custom marshaling code or use appropriate interop mechanisms to handle these complex types efficiently.
Best Regards,
Jiale
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.