0

大家好,我在使用 Windows 防病毒软件时遇到问题我从 IPFS 下载了一个 zip 文件我的代码:

 using (UnityWebRequest wwwAssetsDownloader = UnityWebRequest.Get(JsonData[3]))
                 {
                     yield return wwwAssetsDownloader.Send();
                     if (wwwAssetsDownloader.isNetworkError || wwwAssetsDownloader.isHttpError)
                     {
                         Debug.Log(wwwAssetsDownloader.error);
                     }
                     else
                     {
                         string savePath = string.Format("{0}/{1}.zip", Application.persistentDataPath, "myZipFile");
                         print("Path Zip file : " + savePath);
                         System.IO.File.WriteAllBytes(savePath, wwwAssetsDownloader.downloadHandler.data);
                     }
                 }

如果我禁用我的 Windows 防御者,它工作正常。但是如果我的 Windows 安全启用了,文件会被阻止或损坏,我怎样才能表明该文件不是病毒。我不能告诉我的用户禁用他们的杀毒软件!请帮忙,谢谢。

4

0 回答 0