SetCryptlexHost static method

int SetCryptlexHost(
  1. String host
)

Sets the host for your on-premise server, in case you are running Cryptlex on-premise.

The function throws a LexActivatorException on error.

Implementation

static int SetCryptlexHost(
  String host,
) {
  int status = _lexActivatorNative.SetCryptlexHost(
    host,
  );
  if (LexStatusCodes.LA_OK != status) {
    throw LexActivatorException(status);
  }
  return status;
}