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