[Mono-bugs] [Bug 324427] System.ComponentModel.Design. RuntimeLicenseContext does not load licenses from resource

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 5 07:42:06 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=324427#c3


Carlo Kok <ck at carlo-kok.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                                        |NEW
      Info Provider|ck at carlo-kok.com                                |




--- Comment #3 from Carlo Kok <ck at carlo-kok.com>  2007-11-05 05:42:06 MST ---
Created an attachment (id=182014)
 --> (https://bugzilla.novell.com/attachment.cgi?id=182014)
Test case that shows the using of resources for license generation

Attached is a testcase containing two projects:
ClassLibrary5 contains the control to be "licensed", it implements a simple
license provider and uses the context to store/read the licenses.

ConsoleApplication29 actually uses the control and has a .licx file referencing
the component so the license gets compiled in properly during compilation. Also
included are binary versions for these to see the resource added during
compiling:

000000: 00 01 00 00 00 FF FF FF FF 01 00 00 00 00 00 00  .....????.......
000010: 00 10 01 00 00 00 02 00 00 00 06 02 00 00 00 18  ................
000020: 43 4F 4E 53 4F 4C 45 41 50 50 4C 49 43 41 54 49  CONSOLEAPPLICATI
000030: 4F 4E 32 39 2E 45 58 45 09 03 00 00 00 04 03 00  ON29.EXE........
000040: 00 00 1C 53 79 73 74 65 6D 2E 43 6F 6C 6C 65 63  ...System.Collec
000050: 74 69 6F 6E 73 2E 48 61 73 68 74 61 62 6C 65 07  tions.Hashtable.
000060: 00 00 00 0A 4C 6F 61 64 46 61 63 74 6F 72 07 56  ....LoadFactor.V
000070: 65 72 73 69 6F 6E 08 43 6F 6D 70 61 72 65 72 10  ersion.Comparer.
000080: 48 61 73 68 43 6F 64 65 50 72 6F 76 69 64 65 72  HashCodeProvider
000090: 08 48 61 73 68 53 69 7A 65 04 4B 65 79 73 06 56  .HashSize.Keys.V
0000A0: 61 6C 75 65 73 00 00 03 03 00 05 05 0B 08 1C 53  alues..........S
0000B0: 79 73 74 65 6D 2E 43 6F 6C 6C 65 63 74 69 6F 6E  ystem.Collection
0000C0: 73 2E 49 43 6F 6D 70 61 72 65 72 24 53 79 73 74  s.IComparer$Syst
0000D0: 65 6D 2E 43 6F 6C 6C 65 63 74 69 6F 6E 73 2E 49  em.Collections.I
0000E0: 48 61 73 68 43 6F 64 65 50 72 6F 76 69 64 65 72  HashCodeProvider
0000F0: 08 EC 51 38 3F 01 00 00 00 0A 0A 0B 00 00 00 09  .?Q8?...........
000100: 04 00 00 00 09 05 00 00 00 10 04 00 00 00 01 00  ................
000110: 00 00 06 06 00 00 00 66 43 6C 61 73 73 4C 69 62  .......fClassLib
000120: 72 61 72 79 35 2E 43 6C 61 73 73 31 2C 20 43 6C  rary5.Class1, Cl
000130: 61 73 73 4C 69 62 72 61 72 79 35 2C 20 56 65 72  assLibrary5, Ver
000140: 73 69 6F 6E 3D 31 2E 30 2E 30 2E 30 2C 20 43 75  sion=1.0.0.0, Cu
000150: 6C 74 75 72 65 3D 6E 65 75 74 72 61 6C 2C 20 50  lture=neutral, P
000160: 75 62 6C 69 63 4B 65 79 54 6F 6B 65 6E 3D 62 34  ublicKeyToken=b4
000170: 36 66 63 34 32 65 37 35 37 62 34 63 62 39 10 05  6fc42e757b4cb9..
000180: 00 00 00 01 00 00 00 06 07 00 00 00 08 4C 69 63  .............Lic
000190: 65 6E 73 65 64 0B                                ensed.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list