Calling function from .NET Assembly - Query
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Calling function from .NET Assembly - Query
I used the Sys.Process("MyProcessName").AppDomain("AppDomainName").dotNET.namespace.class.subclass.method(parameters) method to call a function from a dll. This is working fine if the dll is not obfuscated but when the dll is obfuscated I am unable to use the function. The dll is not getting visible in the intellisense. Please note the function is a public static function so it should be accessed even after the obfuscation. Can anyone guide me to resolve this issue. Thanks in advance.
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for submitting the query! Let's see if anyone has experienced the same thing.
@Reshail @Marsha_R @anupamchampati @m_essaid
Sonya Mihaljova
Community and Education Specialist
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
> the function is a public static function so it should be accessed even after the obfuscation.
This depends on the obfuscator's settings. Can you double check with obfuscator's log or some assembly analysis tool that required namespace, class, subclass and method still has their original names?
Can you post here the relevant messages from the test log that are posted when test code calls the method from the obfuscated assembly?
/Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you so much for offering help in this thread Alex!
@Rakeshyadav09 were you able to solve this? If you weren't, please provide more info to the Community as Alex suggests.
Sonya Mihaljova
Community and Education Specialist
