Skip to content

Instantly share code, notes, and snippets.

View JellyBitz's full-sized avatar
🌀
Faster than Light..

Engels Quintero JellyBitz

🌀
Faster than Light..
View GitHub Profile
@JellyBitz
JellyBitz / FileDownloader.cs
Created October 2, 2025 10:07 — forked from yasirkula/FileDownloader.cs
C# Download Public File From Google Drive™ (works for large files as well)
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Net;
using System.Text;
/* EXAMPLE USAGE
FileDownloader fileDownloader = new FileDownloader();
#include "NetworkHelpers.h"
bool GetConnectionsByProcessID(int PID, std::vector<MIB_TCPROW_OWNER_PID*>& Ports)
{
Ports.clear();
// Load and link function at runtime
HMODULE hLib = LoadLibraryA("iphlpapi.dll");
GetExtendedTcpTable pGetExtendedTcpTable = (GetExtendedTcpTable)GetProcAddress(hLib, "GetExtendedTcpTable");
if (!pGetExtendedTcpTable)