.NET Console Application nukes itself ?

N

nojetlag

Hi there,

I have a .Net Console Application (C#) that I have to use for sending
email, along this process I do call the App with several parameters.

So suddenly I got an error "is not a valid Win32 application", after
investigating the thing I found that my app has suddenly a file size
of ZERO. So I was wondering is it possible with some parameter
combinations to nuke a .net application ?
 
M

Morten Wennevik [C# MVP]

Hi there,

I have a .Net Console Application (C#) that I have to use for sending
email, along this process I do call the App with several parameters.

So suddenly I got an error "is not a valid Win32 application", after
investigating the thing I found that my app has suddenly a file size
of ZERO. So I was wondering is it possible with some parameter
combinations to nuke a .net application ?

Only if you code it so it will nuke itself. There is no self-destruct
mechanism and if your program file has been nuked either your code or
another program is responsible, not .Net Framework.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top