init commit all code
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{392104F4-B3C8-49F6-88F0-D84A26F49661}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Getf.Service.Transfer.Client.WinService.HttpHandler</RootNamespace>
|
||||
<AssemblyName>Getf.Service.Transfer.Client.WinService.HttpHandler</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.12.0.1\lib\net40\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="HttpByte\HttpByteHandler.cs" />
|
||||
<Compile Include="HttpDataHandler.cs" />
|
||||
<Compile Include="HttpJsonDataHandler.cs" />
|
||||
<Compile Include="HttpService.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Getf.Service.Transfer.Client.WinService\Getf.Service.Transfer.Client.WinService.csproj">
|
||||
<Project>{41181ed6-f47d-485e-a8f1-b2bdb52dc902}</Project>
|
||||
<Name>Getf.Service.Transfer.Client.WinService</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
@@ -0,0 +1,200 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using Getf.Service.Transfer.Client.WinService.Entities;
|
||||
using Getf.Service.Transfer.Client.WinService.Helpers;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace Getf.Service.Transfer.Client.WinService.HttpHandler.HttpByte
|
||||
{
|
||||
public class HttpByteHandler : IDataHandler
|
||||
{
|
||||
LogHelper _LogHelper;
|
||||
|
||||
public TransInfo HandlerData(TransInfo srcData)
|
||||
{
|
||||
var r = new TransInfo();
|
||||
var action = srcData.Body.Action;
|
||||
if (String.IsNullOrWhiteSpace(action))
|
||||
{
|
||||
r.TransResultInfo = GetResult(-320, "Action(url|method)参数不能为空");
|
||||
return r;
|
||||
}
|
||||
var url = action;
|
||||
|
||||
var jsonStr = String.IsNullOrWhiteSpace(srcData.Body.Param) ? "{}" : srcData.Body.Param;
|
||||
var jObject = JsonConvert.DeserializeObject<JObject>(jsonStr);
|
||||
|
||||
var rData = DoRequest(url, jObject, srcData.Data, out string msg, out int htttpStatusCode);
|
||||
if (rData == null)
|
||||
{
|
||||
r.TransResultInfo = new TransResult()
|
||||
{
|
||||
Code = htttpStatusCode,
|
||||
Message = msg
|
||||
};
|
||||
return r;
|
||||
}
|
||||
|
||||
r.TransResultInfo = new TransResult()
|
||||
{
|
||||
Code = htttpStatusCode,
|
||||
Message = msg
|
||||
};
|
||||
r.Data = rData;
|
||||
return r;
|
||||
}
|
||||
|
||||
private TransResult GetResult(int code, string message)
|
||||
{
|
||||
return new TransResult()
|
||||
{
|
||||
Code = code,
|
||||
Message = message
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
public byte[] DoRequest(string url, JObject jObject, byte[] data, out string msg, out int httpStatusCode)
|
||||
{
|
||||
try
|
||||
{
|
||||
Encoding encoding = new UTF8Encoding(false);
|
||||
if (jObject["Encoding"] != null)
|
||||
{
|
||||
encoding = Encoding.GetEncoding(jObject["Encoding"].Value<string>());
|
||||
}
|
||||
var method = "POST";
|
||||
if (jObject["Method"] != null)
|
||||
{
|
||||
method = jObject["Method"].Value<string>();
|
||||
}
|
||||
|
||||
|
||||
HttpWebRequest httpWebRequest = WebRequest.Create(url) as HttpWebRequest;
|
||||
var bodyIndex = GetBodyIndex(data);
|
||||
var headStr = encoding.GetString(data.Take(bodyIndex).ToArray());
|
||||
|
||||
var bodyData = data.Skip(bodyIndex)/*.Select(m => (char)m)*/.ToArray();
|
||||
|
||||
SetHead(httpWebRequest, method, headStr);
|
||||
|
||||
byte[] r;
|
||||
if (!"GET".Equals(method, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
var requestStream = httpWebRequest.GetRequestStream();
|
||||
requestStream.Write(bodyData, 0, bodyData.Length);
|
||||
r = GetResponse(httpWebRequest, encoding);
|
||||
requestStream.Close();
|
||||
requestStream.Dispose();
|
||||
}
|
||||
else
|
||||
{
|
||||
r = GetResponse(httpWebRequest, encoding);
|
||||
}
|
||||
msg = String.Empty;
|
||||
httpStatusCode = 200;
|
||||
return r;
|
||||
}
|
||||
catch (WebException e)
|
||||
{
|
||||
using (var stream = e?.Response?.GetResponseStream())
|
||||
{
|
||||
httpStatusCode = (int?)((System.Net.HttpWebResponse)(e?.Response))?.StatusCode ?? 500;
|
||||
if (stream != null)
|
||||
{
|
||||
using (StreamReader streamReader = new StreamReader(stream))
|
||||
{
|
||||
msg = streamReader.ReadToEnd();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
msg = e.Message;
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
httpStatusCode = 500;
|
||||
msg = e.Message;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
private int GetBodyIndex(byte[] data)
|
||||
{
|
||||
var index = -1;
|
||||
for (int i = 0, c = data.Length; i < c; i++)
|
||||
{
|
||||
var elem = data[i];
|
||||
if (elem == '\r' && i + 3 < data.Length && data[i + 1] == '\n' && data[i + 2] == '\r' && data[i + 3] == '\n')
|
||||
{
|
||||
index = i + 4;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return index;
|
||||
}
|
||||
|
||||
private static PropertyInfo InnerCollectionProperty = typeof(WebHeaderCollection).GetProperty("InnerCollection",
|
||||
System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
|
||||
|
||||
public static void SetHeaderValue(WebHeaderCollection header, string name, string value)
|
||||
{
|
||||
var collection = InnerCollectionProperty.GetValue(header, null) as NameValueCollection;
|
||||
collection[name] = value;
|
||||
}
|
||||
|
||||
private void SetHead(HttpWebRequest httpWebRequest, string method, string headStr)
|
||||
{
|
||||
httpWebRequest.Method = method;
|
||||
var headStrSplitResult = headStr.Split(new String[] { "\r\n" }, StringSplitOptions.RemoveEmptyEntries);
|
||||
foreach (var elem in headStrSplitResult)
|
||||
{
|
||||
var keyValue = elem.Split(':');
|
||||
var name = keyValue[0];
|
||||
var value = keyValue[1];
|
||||
if ("Accept-Encoding".Equals(name, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
httpWebRequest.AutomaticDecompression = DecompressionMethods.GZip;
|
||||
}
|
||||
SetHeaderValue(httpWebRequest.Headers, name, value);
|
||||
}
|
||||
/*if ("post".Equals(method, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
if (String.IsNullOrWhiteSpace(httpWebRequest.ContentType))
|
||||
{
|
||||
httpWebRequest.ContentType = "application/x-www-form-urlencoded";
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
private byte[] GetResponse(HttpWebRequest httpWebRequest, Encoding encoding)
|
||||
{
|
||||
var response = httpWebRequest.GetResponse();
|
||||
response.Headers.ToByteArray();
|
||||
|
||||
using (var stream = response.GetResponseStream())
|
||||
{
|
||||
using (MemoryStream ms = new MemoryStream())
|
||||
{
|
||||
stream.CopyTo(ms);
|
||||
var r = new List<byte>();
|
||||
r.AddRange(response.Headers.ToByteArray());
|
||||
//r.AddRange(encoding.GetBytes("\r\n"));
|
||||
r.AddRange(ms.ToArray());
|
||||
return r.ToArray();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Getf.Service.Transfer.Client.WinService.Entities;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace Getf.Service.Transfer.Client.WinService.HttpHandler
|
||||
{
|
||||
public class HttpDataHandler : IDataHandler
|
||||
{
|
||||
public TransInfo HandlerData(TransInfo srcData)
|
||||
{
|
||||
var r = new TransInfo();
|
||||
var action = srcData.Body.Action;
|
||||
if (String.IsNullOrWhiteSpace(action))
|
||||
{
|
||||
r.TransResultInfo = GetResult(-320, "Action(url|method)参数不能为空");
|
||||
return r;
|
||||
}
|
||||
var url = action;
|
||||
HttpService httpService = new HttpService();
|
||||
var jsonStr = String.IsNullOrWhiteSpace(srcData.Body.Param) ? "{}" : srcData.Body.Param;
|
||||
var rData = httpService.DoRequest(url, JsonConvert.DeserializeObject<JObject>(jsonStr), out string msg);
|
||||
if (rData == null)
|
||||
{
|
||||
r.TransResultInfo = new TransResult()
|
||||
{
|
||||
Code = -301,
|
||||
Message = msg
|
||||
};
|
||||
return r;
|
||||
}
|
||||
if (rData is string)
|
||||
{
|
||||
r.TransResultInfo = new TransResult()
|
||||
{
|
||||
Code = 0,
|
||||
Message = (string)rData
|
||||
};
|
||||
return r;
|
||||
}
|
||||
|
||||
r.TransResultInfo = new TransResult()
|
||||
{
|
||||
Code = 0
|
||||
};
|
||||
r.Data = (byte[])rData;
|
||||
return r;
|
||||
}
|
||||
|
||||
private TransResult GetResult(int code, string message)
|
||||
{
|
||||
return new TransResult()
|
||||
{
|
||||
Code = code,
|
||||
Message = message
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
using Getf.Service.Transfer.Client.WinService.Entities;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Getf.Service.Transfer.Client.WinService.HttpHandler
|
||||
{
|
||||
public class HttpJsonDataHandler : IDataHandler
|
||||
{
|
||||
public TransInfo HandlerData(TransInfo srcData)
|
||||
{
|
||||
var r = new TransInfo();
|
||||
var action = srcData.Body.Action;
|
||||
if (String.IsNullOrWhiteSpace(action))
|
||||
{
|
||||
r.TransResultInfo = GetResult(-320, "Action(url|method)参数不能为空");
|
||||
return r;
|
||||
}
|
||||
var url = action;
|
||||
HttpService httpService = new HttpService();
|
||||
var jsonStr = String.IsNullOrWhiteSpace(srcData.Body.Param) ? "{}" : srcData.Body.Param;
|
||||
var rData = httpService.DoRequest(url, JsonConvert.DeserializeObject<JObject>(jsonStr), out string msg);
|
||||
if (rData == null)
|
||||
{
|
||||
r.TransResultInfo = new TransResult()
|
||||
{
|
||||
Code = -301,
|
||||
Message = msg
|
||||
};
|
||||
return r;
|
||||
}
|
||||
if (rData is string)
|
||||
{
|
||||
r.TransResultInfo = new TransResult()
|
||||
{
|
||||
Code = 0,
|
||||
Message = (string)rData
|
||||
};
|
||||
return r;
|
||||
}
|
||||
|
||||
r.TransResultInfo = new TransResult()
|
||||
{
|
||||
Code = 0
|
||||
};
|
||||
r.Data = (byte[])rData;
|
||||
return r;
|
||||
}
|
||||
|
||||
private TransResult GetResult(int code, string message)
|
||||
{
|
||||
return new TransResult()
|
||||
{
|
||||
Code = code,
|
||||
Message = message
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,166 @@
|
||||
using Getf.Service.Transfer.Client.WinService.Helpers;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
|
||||
namespace Getf.Service.Transfer.Client.WinService.HttpHandler
|
||||
{
|
||||
public class HttpService
|
||||
{
|
||||
LogHelper _LogHelper;
|
||||
|
||||
public HttpService()
|
||||
{
|
||||
_LogHelper = new LogHelper();
|
||||
}
|
||||
|
||||
public object DoRequest(string url, JObject jObject, out string msg)
|
||||
{
|
||||
|
||||
try
|
||||
{
|
||||
HttpWebRequest httpWebRequest = WebRequest.Create(url) as HttpWebRequest;
|
||||
|
||||
var head = jObject["Head"];
|
||||
Encoding encoding = new UTF8Encoding(false);
|
||||
if (jObject["Encoding"] != null)
|
||||
{
|
||||
encoding = Encoding.GetEncoding(jObject["Encoding"].Value<string>());
|
||||
}
|
||||
if (jObject["ContentType"] != null)
|
||||
{
|
||||
httpWebRequest.ContentType = jObject["ContentType"].Value<string>();
|
||||
}
|
||||
var method = "POST";
|
||||
if (jObject["Method"] != null)
|
||||
{
|
||||
method = jObject["Method"].Value<string>();
|
||||
}
|
||||
|
||||
SetHead(httpWebRequest, method, head);
|
||||
|
||||
object r;
|
||||
if (!"GET".Equals(method, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
var requestStream = httpWebRequest.GetRequestStream();
|
||||
SetRequestStream(httpWebRequest, requestStream, jObject, encoding);
|
||||
r = GetResponse(httpWebRequest, encoding);
|
||||
requestStream.Close();
|
||||
requestStream.Dispose();
|
||||
}
|
||||
else
|
||||
{
|
||||
r = GetResponse(httpWebRequest, encoding);
|
||||
}
|
||||
msg = String.Empty;
|
||||
return r;
|
||||
}
|
||||
catch (WebException e)
|
||||
{
|
||||
using (var stream = e?.Response?.GetResponseStream())
|
||||
{
|
||||
msg = "http错误(" + (int)(e?.Response as HttpWebResponse)?.StatusCode + ")";
|
||||
if (stream != null)
|
||||
{
|
||||
using (StreamReader streamReader = new StreamReader(stream))
|
||||
{
|
||||
msg += streamReader.ReadToEnd();
|
||||
_LogHelper.Info("请求错误原因为:" + msg);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
msg += e.Message;
|
||||
_LogHelper.Info("请求错误原因为:" + msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
msg = e.Message;
|
||||
_LogHelper.Info("请求错误原因为:" + msg);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private static PropertyInfo InnerCollectionProperty = typeof(WebHeaderCollection).GetProperty("InnerCollection",
|
||||
System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
|
||||
|
||||
public static void SetHeaderValue(WebHeaderCollection header, string name, string value)
|
||||
{
|
||||
var collection = InnerCollectionProperty.GetValue(header, null) as NameValueCollection;
|
||||
collection[name] = value;
|
||||
}
|
||||
|
||||
private void SetHead(HttpWebRequest httpWebRequest, string method, JToken head)
|
||||
{
|
||||
httpWebRequest.Method = method;
|
||||
if (head != null)
|
||||
{
|
||||
foreach (JProperty elem in head)
|
||||
{
|
||||
var name = elem.Name;
|
||||
var value = elem.Value.ToString();
|
||||
SetHeaderValue(httpWebRequest.Headers, name, value);
|
||||
}
|
||||
}
|
||||
if ("post".Equals(method, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
if (String.IsNullOrWhiteSpace(httpWebRequest.ContentType))
|
||||
{
|
||||
httpWebRequest.ContentType = "application/x-www-form-urlencoded";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void SetRequestStream(HttpWebRequest httpWebRequest, Stream requestStream, JObject jObject, Encoding encoding)
|
||||
{
|
||||
using (var streamWrite = new StreamWriter(requestStream, encoding))
|
||||
{
|
||||
var param = jObject["Param"]?.Value<string>() ?? String.Empty;
|
||||
streamWrite.Write(param);
|
||||
}
|
||||
}
|
||||
|
||||
private static readonly string[] TextContentTypes = new string[] { "application/json", "text/html" };
|
||||
|
||||
private object GetResponse(HttpWebRequest httpWebRequest, Encoding encoding)
|
||||
{
|
||||
var response = httpWebRequest.GetResponse();
|
||||
using (var stream = response.GetResponseStream())
|
||||
{
|
||||
if (IsTextContentType(response.ContentType))
|
||||
{
|
||||
using (StreamReader streamReader = new StreamReader(stream, encoding))
|
||||
{
|
||||
var r = streamReader.ReadToEnd();
|
||||
|
||||
return r;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
using (MemoryStream ms = new MemoryStream())
|
||||
{
|
||||
stream.CopyTo(ms);
|
||||
return ms.ToArray();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private bool IsTextContentType(string contentType)
|
||||
{
|
||||
if (contentType == null) return true;
|
||||
contentType = contentType.ToLower();
|
||||
var list = new string[] { "text/", "application/json", "application/xml" };
|
||||
return list.Any(m => contentType.Contains(m));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 有关程序集的一般信息由以下
|
||||
// 控制。更改这些特性值可修改
|
||||
// 与程序集关联的信息。
|
||||
[assembly: AssemblyTitle("Getf.Service.Transfer.Client.WinService.HttpHandler")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Hewlett-Packard")]
|
||||
[assembly: AssemblyProduct("Getf.Service.Transfer.Client.WinService.HttpHandler")]
|
||||
[assembly: AssemblyCopyright("Copyright © Hewlett-Packard 2018")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// 将 ComVisible 设置为 false 会使此程序集中的类型
|
||||
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
|
||||
//请将此类型的 ComVisible 特性设置为 true。
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
|
||||
[assembly: Guid("392104f4-b3c8-49f6-88f0-d84a26f49661")]
|
||||
|
||||
// 程序集的版本信息由下列四个值组成:
|
||||
//
|
||||
// 主版本
|
||||
// 次版本
|
||||
// 生成号
|
||||
// 修订号
|
||||
//
|
||||
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
|
||||
//通过使用 "*",如下所示:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<add key="ServiceAddressInfo" value="127.0.0.1:8888" />
|
||||
<add key="HandlerClassInfo" value="" />
|
||||
<add key="AppName" value="Xzsp" />
|
||||
</appSettings>
|
||||
</configuration>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.0", FrameworkDisplayName = ".NET Framework 4")]
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
dae0273585a43c5e4cb8005bc786969a85c78bee
|
||||
@@ -0,0 +1,36 @@
|
||||
D:\WORK\C宁波拆迁\transfer\Services\Getf.Service.Transfer\Src\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\Getf.Service.Transfer.Client.WinService.HttpHandler.dll
|
||||
D:\WORK\C宁波拆迁\transfer\Services\Getf.Service.Transfer\Src\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\Getf.Service.Transfer.Client.WinService.HttpHandler.pdb
|
||||
D:\WORK\C宁波拆迁\transfer\Services\Getf.Service.Transfer\Src\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\Getf.Service.Transfer.Client.WinService.dll
|
||||
D:\WORK\C宁波拆迁\transfer\Services\Getf.Service.Transfer\Src\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\Newtonsoft.Json.dll
|
||||
D:\WORK\C宁波拆迁\transfer\Services\Getf.Service.Transfer\Src\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\SuperSocket.ClientEngine.dll
|
||||
D:\WORK\C宁波拆迁\transfer\Services\Getf.Service.Transfer\Src\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\log4net.dll
|
||||
D:\WORK\C宁波拆迁\transfer\Services\Getf.Service.Transfer\Src\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\SuperSocket.ProtoBase.dll
|
||||
D:\WORK\C宁波拆迁\transfer\Services\Getf.Service.Transfer\Src\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\Getf.Service.Transfer.Client.WinService.pdb
|
||||
D:\WORK\C宁波拆迁\transfer\Services\Getf.Service.Transfer\Src\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\Getf.Service.Transfer.Client.WinService.dll.config
|
||||
D:\WORK\C宁波拆迁\transfer\Services\Getf.Service.Transfer\Src\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\Newtonsoft.Json.pdb
|
||||
D:\WORK\C宁波拆迁\transfer\Services\Getf.Service.Transfer\Src\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\Newtonsoft.Json.xml
|
||||
D:\WORK\C宁波拆迁\transfer\Services\Getf.Service.Transfer\Src\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\log4net.xml
|
||||
D:\WORK\C宁波拆迁\transfer\Services\Getf.Service.Transfer\Src\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\SuperSocket.ProtoBase.xml
|
||||
D:\WORK\C宁波拆迁\transfer\Services\Getf.Service.Transfer\Src\Getf.Service.Transfer.Client.WinService.HttpHandler\obj\Debug\Getf.Service.Transfer.Client.WinService.HttpHandler.csproj.AssemblyReference.cache
|
||||
D:\WORK\C宁波拆迁\transfer\Services\Getf.Service.Transfer\Src\Getf.Service.Transfer.Client.WinService.HttpHandler\obj\Debug\Getf.Service.Transfer.Client.WinService.HttpHandler.csproj.CoreCompileInputs.cache
|
||||
D:\WORK\C宁波拆迁\transfer\Services\Getf.Service.Transfer\Src\Getf.Service.Transfer.Client.WinService.HttpHandler\obj\Debug\Getf.Service.Transfer.Client.WinService.HttpHandler.csproj.CopyComplete
|
||||
D:\WORK\C宁波拆迁\transfer\Services\Getf.Service.Transfer\Src\Getf.Service.Transfer.Client.WinService.HttpHandler\obj\Debug\Getf.Service.Transfer.Client.WinService.HttpHandler.dll
|
||||
D:\WORK\C宁波拆迁\transfer\Services\Getf.Service.Transfer\Src\Getf.Service.Transfer.Client.WinService.HttpHandler\obj\Debug\Getf.Service.Transfer.Client.WinService.HttpHandler.pdb
|
||||
D:\WORK\C宁波拆迁\neiwai_transfer\93_nei\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\Getf.Service.Transfer.Client.WinService.HttpHandler.dll
|
||||
D:\WORK\C宁波拆迁\neiwai_transfer\93_nei\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\Getf.Service.Transfer.Client.WinService.HttpHandler.pdb
|
||||
D:\WORK\C宁波拆迁\neiwai_transfer\93_nei\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\Getf.Service.Transfer.Client.WinService.dll
|
||||
D:\WORK\C宁波拆迁\neiwai_transfer\93_nei\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\Newtonsoft.Json.dll
|
||||
D:\WORK\C宁波拆迁\neiwai_transfer\93_nei\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\SuperSocket.ClientEngine.dll
|
||||
D:\WORK\C宁波拆迁\neiwai_transfer\93_nei\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\log4net.dll
|
||||
D:\WORK\C宁波拆迁\neiwai_transfer\93_nei\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\SuperSocket.ProtoBase.dll
|
||||
D:\WORK\C宁波拆迁\neiwai_transfer\93_nei\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\Getf.Service.Transfer.Client.WinService.pdb
|
||||
D:\WORK\C宁波拆迁\neiwai_transfer\93_nei\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\Getf.Service.Transfer.Client.WinService.dll.config
|
||||
D:\WORK\C宁波拆迁\neiwai_transfer\93_nei\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\Newtonsoft.Json.pdb
|
||||
D:\WORK\C宁波拆迁\neiwai_transfer\93_nei\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\Newtonsoft.Json.xml
|
||||
D:\WORK\C宁波拆迁\neiwai_transfer\93_nei\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\log4net.xml
|
||||
D:\WORK\C宁波拆迁\neiwai_transfer\93_nei\Getf.Service.Transfer.Client.WinService.HttpHandler\bin\Debug\SuperSocket.ProtoBase.xml
|
||||
D:\WORK\C宁波拆迁\neiwai_transfer\93_nei\Getf.Service.Transfer.Client.WinService.HttpHandler\obj\Debug\Getf.Service.Transfer.Client.WinService.HttpHandler.csproj.AssemblyReference.cache
|
||||
D:\WORK\C宁波拆迁\neiwai_transfer\93_nei\Getf.Service.Transfer.Client.WinService.HttpHandler\obj\Debug\Getf.Service.Transfer.Client.WinService.HttpHandler.csproj.CoreCompileInputs.cache
|
||||
D:\WORK\C宁波拆迁\neiwai_transfer\93_nei\Getf.Service.Transfer.Client.WinService.HttpHandler\obj\Debug\Getf.Service.Transfer.Client.WinService.HttpHandler.csproj.CopyComplete
|
||||
D:\WORK\C宁波拆迁\neiwai_transfer\93_nei\Getf.Service.Transfer.Client.WinService.HttpHandler\obj\Debug\Getf.Service.Transfer.Client.WinService.HttpHandler.dll
|
||||
D:\WORK\C宁波拆迁\neiwai_transfer\93_nei\Getf.Service.Transfer.Client.WinService.HttpHandler\obj\Debug\Getf.Service.Transfer.Client.WinService.HttpHandler.pdb
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Newtonsoft.Json" version="12.0.1" targetFramework="net40" />
|
||||
</packages>
|
||||
Reference in New Issue
Block a user