Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!

cracked.io | Best Forum Around | Free Premium Accounts




 20242

[C#] ADD CRACKED.TO AUTH TO YOUR C# APP

by sjd980132klsq - 06 September, 2019 - 05:40 PM
This post is by a banned member (sjd980132klsq) - Unhide
79
Posts
34
Threads
4 Years of service
#1
(This post was last modified: 06 September, 2019 - 05:48 PM by sjd980132klsq.)
Hey ! So today i release how to add c.to auth to your C# app ! Enjoy !

DON'T FORGET TO LEAVE A LIKE AND AN HQ COMMENT IF UR NOT A LEECHER  :pepegun:

get ur auth key here


SCREENSHOTS

[Image: auth.png]

[Image: authsuccess.png]

[Image: autherror.png]


DOWNLOAD



Hidden Content
You must register or login to view this content.


Code:
static string key;
static string hwid;

static void Main(string[] args)
        {
            Console.WriteLine("Cracked.to Auth Key?");
            key = Console.ReadLine();

            try
            {
                using (HttpRequest httpRequest = new HttpRequest())
                {
                    httpRequest.IgnoreProtocolErrors = true;
                    httpRequest.UserAgent = Http.ChromeUserAgent();
                    httpRequest.ConnectTimeout = 30000;
                    string text = httpRequest.Post("https://cracked.to/auth.php", "a=auth&k=" + key + "&hwid=" + gethwid(), "application/x-www-form-urlencoded").ToString();
                    Dictionary<string, string> response = JsonConvert.DeserializeObject<Dictionary<string, string>>(text);
                    if (text.Contains("error"))
                    {
                        MessageBox.Show("Error " + response["error"] + "!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);
                    }
                    else if (text.Contains("auth"))
                    {
                        MessageBox.Show("Welcome " + response["username"] + ", enjoy your exclusive Cracked.to tool!", "Success", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
                    }
                }
                return;
            }
            catch (Exception ex)
            {
                MessageBox.Show("Error: " + ex.Message);
                Application.Exit();
                return;
            }
        }

        private static string gethwid()
        {
            if (string.IsNullOrEmpty(hwid))
            {
                DriveInfo[] drives = DriveInfo.GetDrives();
                int num = drives.Length - 1;
                for (int i = 0; i <= num; i++)
                {
                    DriveInfo driveInfo = drives[i];
                    if (driveInfo.IsReady)
                    {
                        hwid = driveInfo.RootDirectory.ToString();
                        break;
                    }
                }
            }
            if (!string.IsNullOrEmpty(hwid) && hwid.EndsWith(":\\"))
            {
                hwid = hwid.Substring(0, hwid.Length - 2);
            }
            string result;
            using (ManagementObject managementObject = new ManagementObject("win32_logicaldisk.deviceid=\"" + hwid + ":\""))
            {
                managementObject.Get();
                result = managementObject["VolumeSerialNumber"].ToString();
            }
            return result;
        }
im 14 btw
MY ONLY DISCORD: click
This post is by a banned member (Jensen) - Unhide
Jensen  
Godlike
3.090
Posts
489
Threads
5 Years of service
#2
Nice post keep it up
This post is by a banned member (Darkness) - Unhide
Darkness  
Staff
9.628
Posts
10
Threads
Staff Team
5 Years of service
#3
Nice tutorial.Might be useful for some users.
[Image: OTrKwjW.gif]
[TOP SPOT] Ad by @vyactor - Until 9.05

[Image: cBsyzt7.gif]
[MIDDLE SPOT] Ad by @PapaMiau - Until 8.05

[Image: SPADONE-CC-Signature-Design.gif]
[BOTTOM SPOT] Ad by @TopG - Until 27.04

Disclaimer: I am not affiliated with any of the ads shown above. They're paid advertisements. Please make sure to confirm via PM before contacting me. I do not sell, buy or exchange anything. Be careful of impersonators & scammers.
This post is by a banned member (Ald1slav) - Unhide
Ald1slav  
Registered
915
Posts
144
Threads
5 Years of service
#4
like, very nice content
 
This post is by a banned member (sjd980132klsq) - Unhide
79
Posts
34
Threads
4 Years of service
#5
This is a bump
This post is by a banned member (sjd980132klsq) - Unhide
79
Posts
34
Threads
4 Years of service
#6
This is a bump
This post is by a banned member (unkownlegal) - Unhide
17
Posts
0
Threads
4 Years of service
#7
like, very nice content
This post is by a banned member (999Samurai) - Unhide
298
Posts
33
Threads
4 Years of service
#8
Using this for my new app, thanks
Buy your League of Legends Accounts HERE
https://lolaccountsaio.sellpass.io/
 (In Construction)

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 2 Guest(s)