I am working on a small asp.net desktop application wherein I am trying to change the content of a text file. And there is a particular piece of code that should be executed only when the user runs it for the first time and should be excluded from the next time onwards.