ProxyPort
Returns the port of the SOCKS/HTTP proxy configured for the current connection profile.
Returns 0 if no proxy is configured.
Возвращает порт SOCKS/HTTP-прокси, настроенного для текущего подключения (профиля).
Возвращает 0, если прокси не настроен.
function ProxyPort: Word;
def ProxyPort() -> int: ...
begin
AddToSystemJournal('Proxy port: ' + IntToStr(ProxyPort));
end.
AddToSystemJournal(f'Proxy port: {ProxyPort()}')