What are the challenges you face when working across database platforms? Take the survey
Options

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.
Tagged:

Comments

  • Options
    Jessica RJessica R Posts: 1,319 Rose Gold 4
    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 Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


  • Options
    erics_jcaerics_jca Posts: 1 New member
    Does anyone know if SmartAssembly still won't work with Xamarin assemblies?
  • Options
    Jessica RJessica R Posts: 1,319 Rose Gold 4
    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 Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


  • Options
    jaygjayg Posts: 2 New member
    Is this still the case?
  • Options
    Jessica RJessica R Posts: 1,319 Rose Gold 4
    @jayg It's still the case, sorry to say. :/ SmartAssembly only works with managed code.

    Jessica Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


  • Options
    jaygjayg Posts: 2 New member
    @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
Sign In or Register to comment.