|
@@ -204,8 +204,7 @@ namespace MOKA_Factory_Tools
|
|
|
//ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;
|
|
|
//request.UserAgent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705;)";
|
|
|
response = request.GetResponse() as HttpWebResponse;
|
|
|
- ns = response.GetResponseStream();
|
|
|
- nreadsize = ns.Read(nbytes, 0, nbytes.Length);
|
|
|
+ ns = response.GetResponseStream();
|
|
|
int preocess = 0;
|
|
|
long recSize = 0;
|
|
|
do
|