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. C#
  4. Licence key Generate

Licence key Generate

Scheduled Pinned Locked Moved C#
wpfhelp
3 Posts 3 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.
  • N Offline
    N Offline
    nisha 2n
    wrote on last edited by
    #1

    hi...... i want to protect my application with licence key....in Xaml can anyone help mee.... thanquuu...

    V P 2 Replies Last reply
    0
    • N nisha 2n

      hi...... i want to protect my application with licence key....in Xaml can anyone help mee.... thanquuu...

      V Offline
      V Offline
      venomation
      wrote on last edited by
      #2

      Its pretty simple, make some random characters using a random number generator and specify how many you want? Random ran = new Random(); string mySerial = string.Empty; int serialLength = 12; for (int i = 0; i < serialLength;i++) { int ascii = ran.Next(70,90); char myChar = (char)ascii; mySerial += myChar.ToString(); } A bit like that, next time lookup the problem.

      1 Reply Last reply
      0
      • N nisha 2n

        hi...... i want to protect my application with licence key....in Xaml can anyone help mee.... thanquuu...

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #3

        Why do you say you want it in XAML? XAML is a markup language - pure and simple.

        "WPF has many lovers. It's a veritable porn star!" - Josh Smith

        As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

        My blog | My articles | MoXAML PowerToys | Onyx

        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