mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-03 22:17:47 +00:00
Fixed problem with network connections.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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")]
|
||||
|
||||
Reference in New Issue
Block a user