Table of Contents

Interface IServerFileRetriever

Namespace
Acuit.Pinpoint.Workstation.Configuration
Assembly
Acuit.Pinpoint.Workstation.Abstractions.dll

Represents an Acuit Pinpoint host computer file retriever.

public interface IServerFileRetriever

Methods

RetrieveFileAsync(string)

Asynchronously retrieves a file from the Acuit Pinpoint host computer, storing it to a temporary folder but retaining the original file name.

Task<string> RetrieveFileAsync(string serverFileName)

Parameters

serverFileName string

The name of the file on the Acuit Pinpoint host computer.

Returns

Task<string>

The task object representing the asynchronous operation.

Remarks

Once the operation completes, the Result property on the returned task object contains the full path to the local file.

Exceptions

Exception

Acuit Pinpoint responded with an error, or an error occurred while attempting to communicate with Acuit Pinpoint. See RetrieveFileAsync(string) for the specific errors that can occur.