laomms / PidKeyTool

密钥检测工具. Tool for check Microsoft Product Key
270 stars 54 forks source link

CLOSED AS NOT PLANNED #28

Closed YT-Advanced closed 1 year ago

YT-Advanced commented 1 year ago

[DELETED]

laomms commented 1 year ago

yes, I have updated the tool: /CheckKey PKRVP-TJNRT-V2DPX-HD4TX-BKPH3,6VND6-8MCCJ-PRVX8-Q3FBB-39PH3,... /CheckRedeemKey officeacount password XJF4N-YJ6PT-KFW7K-K63MQ-JT2W8,YW2WN-99DWF-4TPPT-FCGJH-94VGW,...

laomms commented 1 year ago

        static void Main(string[] args)
        {
            string output = "";
            using (Process p1 = new Process())
            {
                p1.StartInfo.CreateNoWindow = true;
                //p1.StartInfo.Verb = "runas";
                p1.StartInfo.FileName = "cmd.exe";
                p1.StartInfo.Arguments = "/c" + "PidKey.exe /CheckKey PKRVP-TJNRT-V2DPX-HD4TX-BKPH3,6VND6-8MCCJ-PRVX8-Q3FBB-39PH3"; ;
                p1.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
                p1.StartInfo.UseShellExecute = false;
                p1.StartInfo.RedirectStandardOutput = true;
                p1.Start();
                p1.WaitForExit();
                using (System.IO.StreamReader streamreader = p1.StandardOutput)
                {
                    output = streamreader.ReadToEnd();
                }
            }            
            Console.WriteLine(output);
            Console.ReadLine();
        }

if you just want to run in windows cmd: PidKey.exe /CheckKey PKRVP-TJNRT-V2DPX-HD4TX-BKPH3,6VND6-8MCCJ-PRVX8-Q3FBB-39PH3 | more

YT-Advanced commented 1 year ago

Thanks

Denisphuket commented 9 months ago

not working 3.5?