https://github.com/mazkdevf/c-sharp-proscripts
https://github.com/mazkdevf/c-sharp-proscripts
codes csharp
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mazkdevf/c-sharp-proscripts
- Owner: mazkdevf
- Created: 2022-01-23T22:47:49.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-23T22:52:15.000Z (about 4 years ago)
- Last Synced: 2024-12-27T17:27:53.904Z (about 1 year ago)
- Topics: codes, csharp
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# C-Sharp-proscripts
### Change program name after running it.
https://streamable.com/n1r5fj - Showcase
```CSHARP
//KEYAUTH.WIN BEST AUTHENTICATION SERVICE FOR YOUR PROGRAM.
//KEYAUTH.WIN BEST AUTHENTICATION SERVICE FOR YOUR PROGRAM.
using System;
namespace ConsoleApp69
{
class Program
{
static void Main(string[] args)
{
AppDomain.CurrentDomain.ProcessExit += new EventHandler(lolxd_ProcessExit);
}
static void lolxd_ProcessExit(object sender, EventArgs e)
{
string appname = AppDomain.CurrentDomain.FriendlyName;
string randomname = randomi(10);
Process.Start(new ProcessStartInfo("cmd.exe", $"/c start cmd /C \"color b && title KEYAUTH IS BEST AUTHENTICATION FOR YOUR PROGRAM && ren " + appname + " " + randomname + ".exe")
{
CreateNoWindow = true,
RedirectStandardOutput = true,
UseShellExecute = false,
WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden
});
Environment.Exit(0);
}
private static string randomi(int length)
{
string letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUXYZ0123456789";
Random random = new Random((int)DateTime.Now.Ticks);
string randomString = "";
for (int i = 0; i < length; i++)
{
randomString += letters[random.Next(0, letters.Length - 1)];
}
return randomString;
}
}
}
//KEYAUTH.WIN BEST AUTHENTICATION SERVICE FOR YOUR PROGRAM.
//KEYAUTH.WIN BEST AUTHENTICATION SERVICE FOR YOUR PROGRAM.
```
### SOON
```
Soon
```
### SOON
```
Soon
```
### SOON
```
Soon
```
### SOON
```
Soon
```
### SOON
```
Soon
```
### SOON
```
Soon
```
### SOON
```
Soon
```
### SOON
```
Soon
```
### SOON
```
Soon
```
### SOON
```
Soon
```
### SOON
```
Soon
```
### SOON
```
Soon
```
### SOON
```
Soon
```
### SOON
```
Soon
```
### SOON
```
Soon
```
### SOON
```
Soon
```
### SOON
```
Soon
```
### SOON
```
Soon
```
### SOON
```
Soon
```
### SOON
```
Soon
```