|
|
@ -7,6 +7,7 @@ using Microsoft.Extensions.DependencyInjection; |
|
|
|
using Newtonsoft.Json; |
|
|
|
using Newtonsoft.Json.Linq; |
|
|
|
using System; |
|
|
|
using System.Diagnostics; |
|
|
|
using System.Linq; |
|
|
|
using System.Net.Http; |
|
|
|
using System.Runtime.CompilerServices; |
|
|
@ -58,10 +59,16 @@ namespace BBWY.Test |
|
|
|
//var token = "4a0ddc095e054c7aa90adcaccb14f83cwzgr"; //可比车品
|
|
|
|
//var token = "50a4c0f5c55848b5a8a715709e8d6fe0jntb"; //卿卿玩具专营店
|
|
|
|
|
|
|
|
var jdClient = GetJdClient(appkey, appSecret); |
|
|
|
var response = jdClient.Execute(new FceAlphaGetVenderCarrierRequest(), token, DateTime.Now.ToLocalTime()); |
|
|
|
|
|
|
|
|
|
|
|
Console.WriteLine(JsonConvert.SerializeObject(response)); |
|
|
|
Process rdpProcess = new Process(); |
|
|
|
rdpProcess.StartInfo.FileName = Environment.ExpandEnvironmentVariables(@"%SystemRoot%\system32\cmdkey.exe"); |
|
|
|
rdpProcess.StartInfo.Arguments = "/generic:TERMSRV/116.62.152.18 /user:administrator /pass:kaicn1132+-"; |
|
|
|
rdpProcess.Start(); |
|
|
|
|
|
|
|
rdpProcess.StartInfo.FileName = Environment.ExpandEnvironmentVariables(@"%SystemRoot%\system32\mstsc.exe"); |
|
|
|
rdpProcess.StartInfo.Arguments = "/v: 116.62.152.18 /console"; |
|
|
|
rdpProcess.Start(); |
|
|
|
Console.ReadKey(); |
|
|
|
} |
|
|
|
|
|
|
|