|
@@ -268,7 +268,7 @@ namespace UAS_MES_NEW.PublicMethod
|
|
|
{
|
|
{
|
|
|
static DataHelper dh = new DataHelper();
|
|
static DataHelper dh = new DataHelper();
|
|
|
public static int SN_SERVICE_PORT = 21610;
|
|
public static int SN_SERVICE_PORT = 21610;
|
|
|
- public static int MAX_BUF_SIZE = 4096;
|
|
|
|
|
|
|
+ public static int MAX_BUF_SIZE = 8192;
|
|
|
static string ComputeSha256Hash(string input)
|
|
static string ComputeSha256Hash(string input)
|
|
|
{
|
|
{
|
|
|
using (SHA256 sha256 = SHA256.Create())
|
|
using (SHA256 sha256 = SHA256.Create())
|