Protecting Telerik Radcontrols

3 posts, 0 answers
  1. Deepak Shakya
    Deepak Shakya avatar
    118 posts
    Member since:
    Aug 2007

    Posted 20 Mar 2012 Link to this post

    I posted this issue on another thread:

    http://www.telerik.com/community/forums/silverlight/general-discussions/how-to-recompile-radcontrols-for-silverlight-from-source-code.aspx#2035784 

    ====================================================================
    • I installed StyleCop 4.6
    • Ran Build_SL.bat and it was a success this time.
    • Copied the new binaries from Binaries/Silverlight folder to: C:\Program Files\Telerik\RadControls for Silverlight Q3.  2011\Binaries\Protected\Silverlight
    • Updated the references in the Silverlight project to reflect new binaries. (Version  = 2011.3.1520.1040)
    • Added the Resource string in App.xaml with the application name

    Result:

    Still throws an error: 
    1. This version of Telerik RadControls for Silverlight is licensed only for use by AppName

    I am following: http://www.telerik.com/help/silverlight/protecting-telerik-radcontrols-assembly.html

    I am using this for Silverlight 4 and am using source with version: 2011.3.1220

    I have been following the instructions. Don't know what I am doing wrong. Could you please reply to this thread asap as it is really close to deployment date.

    =============================================================


    I wasn't sure whether is was still being monitored as it was marked as answered. Hence my deparate attempt to start a new thread to get attention.

    Any help is appreciated.
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 22 Mar 2012 Link to this post

    Hello Deepak,

    We've answered in the other forum thread. I would suggest to continue the communication there.

    Greetings,
    Yana
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft banner
  4. Deepak Shakya
    Deepak Shakya avatar
    118 posts
    Member since:
    Aug 2007

    Posted 05 Nov 2012 Link to this post

    One scenario has been bugging me for sometime now. I am not sure if this has been answered.

    • I generated protected assemblies using the instrcution in the online documentation and word file in the source code folder
    • Everything went fine
    • In App.xaml, I added a resource string <system:String x:Key="Telerik.Windows.Controls.Key">My Tool (version 1)</system:String>
    • The value is same as that in the AssemblyProtection.cs
    • I updated the refereces to point to the new dlls generated
    • The program runs fine
    • Now if I comment out the entire resource in App.xaml, it throws an error saying that it can only be used with My Tool (version 1)
    • But if I remove the value from the resource or just type in any string instead of what is in the AssemblyProtection.cs, it does not complain.

    Why is this? Shouldn't it throw an error when strings do not match?
Back to Top