Reference Library
BnFtpVersion1Request Constructor (productId, fileName, fileTime, adBannerId, adBannerExtension)
NamespacesMBNCSUtil.NetBnFtpVersion1RequestBnFtpVersion1Request(String, String, DateTime, Int32, String)
Creates a Version 1 Battle.net FTP request specifically for banner ad downloads.
Declaration Syntax
C#Visual BasicVisual C++
public BnFtpVersion1Request(
	string productId,
	string fileName,
	DateTime fileTime,
	int adBannerId,
	string adBannerExtension
)
Public Sub New ( _
	productId As String, _
	fileName As String, _
	fileTime As DateTime, _
	adBannerId As Integer, _
	adBannerExtension As String _
)
public:
BnFtpVersion1Request(
	String^ productId, 
	String^ fileName, 
	DateTime fileTime, 
	int adBannerId, 
	String^ adBannerExtension
)
Parameters
productId (String)
The four-character identifier for the product being emulated by this request.
fileName (String)
The full or relative path to the file as it is to be stored on the local machine. The name portion of the file must be the filename being requested from the service.
fileTime (DateTime)
The last-write time of the file. If the file is not available, this parameter can be null (Nothing in Visual Basic).
adBannerId (Int32)
The banner ID provided by Battle.net's ad notice message.
adBannerExtension (String)
The banner filename extension provided by Battle.net's ad notice message.
Remarks

Although it is not specifically required to download banner ads, it is recommended for forward-compatibility with the Battle.net protocol that this constructor is used.

Assembly: Asgard5Library (Module: Asgard5Library)