Returns a [script] tag linking to the WCPP-detection script code.
Namespace: Neodynamic.SDK.WebAssembly: Neodynamic.SDK.WebClientPrint (in Neodynamic.SDK.WebClientPrint.dll) Version: 2.0.2000.0 (2.0.2000.2)
Syntax
Return Value
Type:
A [script] tag linking to the WCPP-detection script code.
Remarks
The WCPP-detection script code ends with a 'success' or 'failure' status.
You can handle both situation by creating two javascript functions which names must be wcppDetectOnSuccess() and wcppDetectOnFailure(). These two functions will be automatically invoked by the WCPP-detection script code.
For non-IE browsers, the WCPP-detection script uses a delay time variable which by default is 10000 ms (10 sec). You can change it by creating a javascript global variable which name must be wcppPingDelay_ms. For example, to use 5 sec instead of 10, you should add this to your script:
var wcppPingDelay_ms = 5000;
See Also