Fixed problem with network connections.

This commit is contained in:
Vyacheslav Demidyuk
2014-11-20 14:01:37 +02:00
parent 226f07878f
commit fe4f0af9de
9 changed files with 33 additions and 53 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ namespace MTApiService
if (mProxy != null)
return;
var bind = new NetTcpBinding();
var bind = new NetTcpBinding(SecurityMode.None);
bind.MaxReceivedMessageSize = 2147483647;
bind.MaxBufferSize = 2147483647;
// Commented next statement since it is not required
+1 -1
View File
@@ -195,7 +195,7 @@ namespace MTApiService
else
{
//by Socket
var bind = new NetTcpBinding();
var bind = new NetTcpBinding(SecurityMode.None);
bind.MaxReceivedMessageSize = 2147483647;
bind.MaxBufferSize = 2147483647;
+2 -2
View File
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.13.0")]
[assembly: AssemblyFileVersion("1.0.13.0")]
[assembly: AssemblyVersion("1.0.14.0")]
[assembly: AssemblyFileVersion("1.0.14.0")]