Class NSCustomerServiceStartup
Contains various data needed by Service for startup.
Do not use this API, as it is for internal use and might change without notice.
Syntax
Constructors
NSCustomerServiceStartup()
Initializes a new instance of the NSCustomerServiceStartup class.
Introduced or updated in version: 8.5R08
Declaration
NSCustomerServiceStartup
Methods
GetRecaptchaSiteKey()
Introduced or updated in version: 8.5R08
Declaration
String GetRecaptchaSiteKey()
Returns
Type | Description |
---|---|
String | A global reCAPTCHA site key, used with the google reCAPTCHA component. |
Remarks
This value is taken from the web.config file
Examples
NSCustomerServiceStartup thing;
String recaptchaSiteKey = thing.GetRecaptchaSiteKey();
GetTimezoneEnabled()
Introduced or updated in version: 8.5R08
Declaration
Bool GetTimezoneEnabled()
Returns
Type | Description |
---|---|
Bool | Is timezone enabled. |
Examples
NSCustomerServiceStartup thing;
Bool timezoneEnabled = thing.GetTimezoneEnabled();
GetTZOffset()
Introduced or updated in version: 8.5R08
Declaration
Integer GetTZOffset()
Returns
Type | Description |
---|---|
Integer | The offset in minutes compared with UTC, calculated for DateTime.Now. |
Examples
NSCustomerServiceStartup thing;
Integer tZOffset = thing.GetTZOffset();
SetRecaptchaSiteKey(String)
Introduced or updated in version: 8.5R08
Declaration
Void SetRecaptchaSiteKey(String recaptchaSiteKey)
Parameters
Type | Name | Description |
---|---|---|
String | recaptchaSiteKey | A global reCAPTCHA site key, used with the google reCAPTCHA component. |
Returns
Type | Description |
---|---|
Void |
Remarks
This value is taken from the web.config file
Examples
NSCustomerServiceStartup thing;
String recaptchaSiteKey;
thing.SetRecaptchaSiteKey(recaptchaSiteKey);
SetTimezoneEnabled(Bool)
Introduced or updated in version: 8.5R08
Declaration
Void SetTimezoneEnabled(Bool timezoneEnabled)
Parameters
Type | Name | Description |
---|---|---|
Bool | timezoneEnabled | Is timezone enabled. |
Returns
Type | Description |
---|---|
Void |
Examples
NSCustomerServiceStartup thing;
Bool timezoneEnabled;
thing.SetTimezoneEnabled(timezoneEnabled);
SetTZOffset(Integer)
Introduced or updated in version: 8.5R08
Declaration
Void SetTZOffset(Integer tZOffset)
Parameters
Type | Name | Description |
---|---|---|
Integer | tZOffset | The offset in minutes compared with UTC, calculated for DateTime.Now. |
Returns
Type | Description |
---|---|
Void |
Examples
NSCustomerServiceStartup thing;
Integer tZOffset;
thing.SetTZOffset(tZOffset);