Retrieves the names of the files which are stored on the printer. This method only returns files which have one of the extensions in extensions.

Namespace:  ZSDK_API.Printer
Assembly:  ZSDK_API (in ZSDK_API.dll) Version: 1.1.123.0

Syntax

C#
string[] RetrieveFileNames(
	string[] extensions
)
Visual Basic (Declaration)
Function RetrieveFileNames ( _
	extensions As String() _
) As String()

Parameters

extensions
Type: array< System..::.String >[]()[]
The extensions to filter on.

Return Value

A list of file names.

Exceptions

ExceptionCondition
ZSDK_API.ApiException..::.ZebraPrinterConnectionExceptionIf an I/O error occurs.
ZSDK_API.ApiException..::.ZebraIllegalArgumentExceptionIf the response from the printer could not be parsed.
ZSDK_API.ApiException..::.ZebraGeneralExceptionIf the file contents could not be sent.

See Also