Files
Orange-Cyberdefense-p3-loader/P3-Loader/HTTPClient.h
T
2026-04-28 13:49:23 +02:00

18 lines
317 B
C++

#pragma once
#ifndef HTTP_CLIENT_H
#define HTTP_CLIENT_H
#include <Windows.h>
#include <wininet.h>
#include <vector>
class HTTPClient {
public:
HTTPClient(const wchar_t* user_agent);
~HTTPClient();
std::vector<uint8_t> DownloadURL(const wchar_t* url);
private:
HINTERNET m_hInternet;
};
#endif // HTTP_CLIENT_H