Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Licensing and wrapping control

Licensing and wrapping control

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharphelpquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Patrick Lassalle
    wrote on last edited by
    #1

    I have created a .NET Windows Form control. This control is licensed, using the standard licenseing classes of .NET (License class, LicenseProvider class, etc). This is working when the control is used in an application. However, it seems this does not work when the control is used in a wrapping control or a class library. Is this a known problem? Is there anything special to do?

    R 1 Reply Last reply
    0
    • P Patrick Lassalle

      I have created a .NET Windows Form control. This control is licensed, using the standard licenseing classes of .NET (License class, LicenseProvider class, etc). This is working when the control is used in an application. However, it seems this does not work when the control is used in a wrapping control or a class library. Is this a known problem? Is there anything special to do?

      R Offline
      R Offline
      Roger Alsing 0
      wrote on last edited by
      #2

      i think the license info needs to be compiled into the execution app. so if you include your control in another control , you will still need the license info in the host app... //Roger

      P 1 Reply Last reply
      0
      • R Roger Alsing 0

        i think the license info needs to be compiled into the execution app. so if you include your control in another control , you will still need the license info in the host app... //Roger

        P Offline
        P Offline
        Patrick Lassalle
        wrote on last edited by
        #3

        Unfortunately, this is not allways possible. Sometimes, you cannot change the the host app because you have not its source code. It is the case if you use the control under ASP.NET (aspnet_wp.exe). In such a case, it seems that the licensing provided by .NET is not working.

        R 1 Reply Last reply
        0
        • P Patrick Lassalle

          Unfortunately, this is not allways possible. Sometimes, you cannot change the the host app because you have not its source code. It is the case if you use the control under ASP.NET (aspnet_wp.exe). In such a case, it seems that the licensing provided by .NET is not working.

          R Offline
          R Offline
          Roger Alsing 0
          wrote on last edited by
          #4

          i actually think i read taht on gotdotnet , that control licensing doesnt work under asp.net .. but i could be way off here... but i think that was stated on some license page..

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups