[HELP] Need help with stopping downloads. (faking downloads)

thegreatrean

Новичок
Регистрация
06.10.2022
Сообщения
1
Благодарностей
0
Баллы
1
There's probably a variety of ways to solve this... But my main issue is really bandwith (for proxies), and I want to stop file downloads as soon as I click the button, so I can save my bandwith. The file I'm downloading is 300MB+

Is there a way to either:
  • Stop downloading as soon as it starts; or
  • Completely block file downloads from project settings; or
  • Some other easier way?
Note: When I hover over the download it shows javascript:void(0), and when I click, it downloads from a CDN (domain is very abstract and random), hopefully this helps?

Thanks in advance!
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 480
Благодарностей
5 917
Баллы
113
Try using this code:
C#:
instance.StopDownloads();
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)