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. setup of window application

setup of window application

Scheduled Pinned Locked Moved C#
csharptutorialworkspace
5 Posts 4 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.
  • M Offline
    M Offline
    Milind Panchal
    wrote on last edited by
    #1

    How to make setup of window application in .net of 10 days block. Means software will work for 10 days only.

    A 1 Reply Last reply
    0
    • M Milind Panchal

      How to make setup of window application in .net of 10 days block. Means software will work for 10 days only.

      A Offline
      A Offline
      AspDotNetDev
      wrote on last edited by
      #2

      There are many ways of doing this. The easiest (though least secure) way of doing this is to store the date it was installed into a text file and then check that file each time the application loads. If 10 days have elapsed, then exit.

      [Forum Guidelines]

      M N 2 Replies Last reply
      0
      • A AspDotNetDev

        There are many ways of doing this. The easiest (though least secure) way of doing this is to store the date it was installed into a text file and then check that file each time the application loads. If 10 days have elapsed, then exit.

        [Forum Guidelines]

        M Offline
        M Offline
        Milind Panchal
        wrote on last edited by
        #3

        But if user has changed the system date then it will not work

        L 1 Reply Last reply
        0
        • M Milind Panchal

          But if user has changed the system date then it will not work

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          You must save the first use date and the date every time the software used. You must check it every time the software start. If something wrong, then close the software. For example : First use 01.01.1980 2nd use 03.01.1980 <- OK 3rd use 01.01.1970 <- something wrong, close Encrypt it and save it in a file.

          1 Reply Last reply
          0
          • A AspDotNetDev

            There are many ways of doing this. The easiest (though least secure) way of doing this is to store the date it was installed into a text file and then check that file each time the application loads. If 10 days have elapsed, then exit.

            [Forum Guidelines]

            N Offline
            N Offline
            Nasri87
            wrote on last edited by
            #5

            people can delete the txt file also right? Then the application can continue work?

            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