GoOffline

Description

Configures the client for offline mode. You must specify the period in minutes that the client will go offline. After this period, an event will be fired and your application can take any action as needed.

bool GoOffline(double period, out string errorMessage);

Parameters

ParameterTypeDescription
perioddoublethe period in minutes that the client will go offline. After this period, an event will be fired.
errorMessagestringa returned message with error information

Returns

TypeDescription
Booleantrue if the operation was successful; otherwise, false.