ssCore.SysTools.createGUID

Create a globally unique 128-bit number in the format XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX. To a very high degree of certainty, this function returns a unique value - no other invocation, on the same or any other system (networked or not), should return the same value.


Availability:

First available in version 3.8 build 333.


Input Parameters:

None.


Output Parameters:

result - A globally unique 128-bit number (GUID) in the format XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.SysTools.createGUID( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.SysTools.createGUID( paramsObject );


Notes:

None.


Examples:

var r = ssCore.SysTools.createGUID();
ssDebug.trace(r.result);