static void Test3() { //foreach (Environment.SpecialFolder item in Enum.GetValues(typeof(Environment.SpecialFolder))) //{ // var v = Environment.GetFolderPath(item); // Console.WriteLine("{0}:\t{1}", item, v); //} var client = new LocalStarClient(); client.ProbeAndInstall(null, "1.1"); }
static void Test3() { //foreach (Environment.SpecialFolder item in Enum.GetValues(typeof(Environment.SpecialFolder))) //{ // var v = Environment.GetFolderPath(item); // Console.WriteLine("{0}:\t{1}", item, v); //} var client = new LocalStarClient(); client.ProbeAndInstall(null, "1.6"); //var p = Process.GetCurrentProcess(); //var name = p.MainModule.FileName; //var str = name + Environment.NewLine + name.ToJson(); //str += Environment.NewLine + name.ToJson().ToJsonEntity<String>(); //XTrace.WriteLine(str); //File.WriteAllText("aa.txt".GetFullPath(), str); }