Self deletable application in C# in one executable

前端 未结 7 1812
北荒
北荒 2020-11-30 23:26

Is it possible to make an application in C# that will be able to delete itself in some condition.

I need to write an updater for my application but I don\'t want the

7条回答
  •  执笔经年
    2020-11-30 23:56

    your second line can be

    Updater: Star -> do it's work -> start Application Executable -> Updater Exits -> Application deletes your Updater.exe
    

提交回复
热议问题