How can we help you today? How can we help you today?

Smartassembly with Xamarin

Hello.

I am working with Xamarin for mobile development for years now. We have a obfuscation solution but it is not good and newer projects require as much protection as possible.
We are thinking Smartassembly since it is probably best in .NET protection along with ConfuserEx.

I was wondering does Smartassembly work with Xamarin? I guess it probably does but I need specifics.

What features work and what dont. Also, any tutorial would be welcome since I could not find any.

Regards.
hazzu84
0

Comments

6 comments

  • Jessica R
    Hi @hazzu84,

    Thanks for your post!

    I'm afraid we actually haven't done any testing specifically with Xamarin, and I unfortunately don't think SmartAssembly will work with Xamarin assemblies, since from what I understand, Xamarin assemblies are not built off of the full .NET framework. :/ (SmartAssembly can only process fully managed/.NET assemblies.)

    Please mistake me if I am wrong though! If Xamarin assemblies are fully managed, then SmartAssembly should be able to process them, but as with any assembly, you may need to exclude some code from obfuscation. If it is fully managed and you can share your assembly, I'm happy to do some testing as well to get more detail on what works and doesn't work.
    Jessica R
    0
  • erics_jca
    Does anyone know if SmartAssembly still won't work with Xamarin assemblies?
    erics_jca
    0
  • Jessica R
    Hi @erics_jca!

    I'm afraid nothing has changed regarding this, so the previous post still applies- only if the Xamarin assembly is fully managed, then SmartAssembly can work with it.
    Jessica R
    0
  • jayg
    Is this still the case?
    jayg
    0
  • Jessica R
    @jayg It's still the case, sorry to say. :/ SmartAssembly only works with managed code.
    Jessica R
    0
  • jayg
    @Jessica R Has anymore testing been done with Xamarin?  I found out that the assemblies that we are interested in protecting appear to be managed as they reference mscoree.dll:

    Dump of file C:\#redacted#.Android.dll

    File Type: DLL

      Image has the following dependencies:

        mscoree.dll

      Summary

            2000 .reloc
            2000 .rsrc
           66000 .text
     
    Thanks,
    Jay
    jayg
    0

Add comment

Please sign in to leave a comment.