C# Class OpenBve.Internet

Provides methods for accessing the internet.
ファイルを表示 Open project: sladen/openbve Class Usage Examples

Private Methods

Method Description
AddWebClientHeaders ( WebClient client, string url ) : void

Adds some user agent and referer to the web client headers.

DownloadAndSaveAsynchronous ( string url, string file, double days, ParameterizedThreadStart callback ) : void

Downloads bytes from the specified URL and saves them to a file.

DownloadBytesFromUrl ( string url ) : byte[]

Downloads data from the specified URL.

TryDownloadBytesFromUrl ( string url, byte &bytes, int &size ) : bool

Downloads data from the specified URL.