This is experimental documentation.
Represents a Battle.net FTP (BnFTP) file transfer request for Version 1 products.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public class BnFtpVersion1Request : BnFtpRequestBase
Public Class BnFtpVersion1Request _ Inherits BnFtpRequestBase
public ref class BnFtpVersion1Request : public BnFtpRequestBase
Members
All Members | Constructors | Methods | Properties | Events | |
Icon | Member | Description |
---|---|---|
BnFtpVersion1Request(String, String, Nullable<(Of <<'(DateTime>)>>)) |
Creates a standard Version 1 Battle.net FTP request.
| |
BnFtpVersion1Request(String, String, DateTime, Int32, String) |
Creates a Version 1 Battle.net FTP request specifically for banner ad downloads.
| |
Equals(Object) | (Inherited from Object.) | |
ExecuteRequest()()()() |
Executes the BnFTP request, downloading the file to where LocalFileName
specifies, and closes the connection.
(Overrides BnFtpRequestBase.ExecuteRequest()()()().) | |
FileName |
Gets the name of the filed being requested.
(Inherited from BnFtpRequestBase.) | |
FilePartDownloaded |
Indicates that part of a file has been downloaded during this request.
(Inherited from BnFtpRequestBase.) | |
FileSize |
Gets (and in derived classes, sets) the size of the file.
(Inherited from BnFtpRequestBase.) | |
FileTime |
Gets the local file's last-write time, if it was specified. If it was not specified, this property
returns null (Nothing in Visual Basic).
(Inherited from BnFtpRequestBase.) | |
Finalize()()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode()()()() | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
LocalFileName |
Gets or sets the local path of the file.
(Inherited from BnFtpRequestBase.) | |
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnFilePartDownloaded(DownloadStatusEventArgs) |
Invokes the FilePartDownloaded event.
(Inherited from BnFtpRequestBase.) | |
Product |
Gets the Product string utilized by this request.
(Inherited from BnFtpRequestBase.) | |
Server |
Gets or sets the server from which this request should download.
(Inherited from BnFtpRequestBase.) | |
ToString()()()() | (Inherited from Object.) |
Remarks
This class is only valid for Starcraft Retail, Starcraft: Brood War, Diablo II Retail, Diablo II: Lord of Destruction, and Warcraft II: Battle.net Edition clients. For Warcraft III: The Reign of Chaos and Warcraft III: The Frozen Throne, use the BnFtpVersion2Request class.
Inheritance Hierarchy
Object | ||
BnFtpRequestBase | ||
BnFtpVersion1Request |
Assembly: Asgard5Library (Module: Asgard5Library)