This is a migrated thread and some comments may be shown as answers.

Protecting Telerik Radcontrols

2 Answers 45 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Deepak Shakya
Top achievements
Rank 1
Deepak Shakya asked on 20 Mar 2012, 09:25 AM
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 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 22 Mar 2012, 04:55 PM
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 >>
0
Deepak Shakya
Top achievements
Rank 1
answered on 06 Nov 2012, 03:24 AM

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?
Tags
General Discussions
Asked by
Deepak Shakya
Top achievements
Rank 1
Answers by
Yana
Telerik team
Deepak Shakya
Top achievements
Rank 1
Share this question
or