You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
705 B
15 lines
705 B
// See https://aka.ms/new-console-template for more information
|
|
using System.Diagnostics;
|
|
using System.Reflection;
|
|
using System.Text;
|
|
|
|
var str = new StringBuilder();
|
|
str.Append("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxNTM1MzMwMzI4ODkyMTQ5NzYwIiwidGVhbUlkIjoiMTUxNjk3NDI1MDU0MjUwMTg4OCIsInNvblRlYW1JZHMiOiIxNDM2Mjg4NTAwMjM1MjQzNTIwIiwiZXhwIjoxNzA2NjAxNTIyfQ.RCtG71JQ-N1vVt4W-qQhwe5bFOI-T5wDkL74jhNnj1M");
|
|
Console.WriteLine("Test1");
|
|
var pi = new ProcessStartInfo();
|
|
pi.FileName = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "Test2.exe");
|
|
pi.Arguments = $"{str}";
|
|
pi.UseShellExecute = true;
|
|
Process.Start(pi);
|
|
Console.WriteLine($"{str}");
|
|
Console.ReadKey();
|