Categories > Coding > C# >
Release | Keysystem
Posted
key system release, yes yes
first release
very berry cool
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using System.Net;
using Newtonsoft.Json;
using System.Security.Policy;
using System.Net.Http;
namespace Keysystem
{
internal class Program
{
static async Task Main(string[] args)
{
dynamic data;
string MachineName = Dns.GetHostName();
DateTime thisDay = DateTime.Today;
string keylink = "https://workink.biz/3fE/AtonixKey";
Console.WriteLine("Welcome to KeySysyem V3");
Console.WriteLine(thisDay);
Console.WriteLine("Opening KeyLink");
Thread.Sleep(250);
System.Diagnostics.Process.Start(keylink);
Console.WriteLine(MachineName + "please Enter your obtained key!");
string key = Console.ReadLine();
string url = "https://redirect-api.work.ink/tokenValid/";
using (HttpClient client = new HttpClient())
{
data = JsonConvert.DeserializeObject(await client.GetStringAsync(url + key));
Console.WriteLine("Is key valid?: " + data["valid"]);
}
if (data["valid"] == true)
{
Console.WriteLine("Opening Target Destination");
}
else
{
Console.WriteLine("Cant Opem Destination, Redo Keysystem");
}
}
}
}
Replied
Oh my lol
content length
Cancel
Post
Discord : Doctor Doom#0550
Replied
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using System.Net;
using Newtonsoft.Json;
using System.Security.Policy;
using System.Net.Http;
namespace Keysystem
{
internal class Program
{
static async Task Main(string[] args)
{
dynamic data;
string MachineName = Dns.GetHostName();
DateTime thisDay = DateTime.Today;
string keylink = "https://workink.biz/3fE/AtonixKey";
Console.WriteLine("Welcome to KeySysyem V3");
Console.WriteLine(thisDay);
Console.WriteLine("Opening KeyLink");
Thread.Sleep(250);
System.Diagnostics.Process.Start(keylink);
Console.WriteLine(MachineName + "please Enter your obtained key!");
string key = Console.ReadLine();
string url = "https://redirect-api.work.ink/tokenValid/";
using (HttpClient client = new HttpClient())
{
data = JsonConvert.DeserializeObject(await client.GetStringAsync(url + key));
Console.WriteLine("Is key valid?: " + data["valid"]);
}
Console.WriteLine(data["valid"] ? "Opening Target Destination" : "Cant Open Destination, Redo Keysystem" )
}
}
}
You can imporve it alot if you have a free time lol. Just first look at code lol.
Cancel
Post
Replied
I'm really sorry, but that code is just plain dogsh*t, and you just can't code. I suggest you take this down before people bully you.
Cancel
Post
Replied
It's pretty much bad code + a free and public "key system API" in one.
Cancel
Post
Random quote here...
Replied
@VoidableMethod Stfu you can't code in C# nerd. I fixed your code many times, please do not talk LOGGER
Cancel
Post
Failed to fetch.
Replied
@75975Ishan ternary is hot use it
Cancel
Post
Replied
Thank you for sharing this information and your experience
Cancel
Post
Added
@87922
LOL JUSt NOTICED SOMEONE TRIED TO MAKE THE EXACT SAME THING BUT COUDNT DO IT HIMSELF AND ASKED FOR HELP
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post