Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: System GUID System.Net System.Guid NewGuid
ObjectClrOption( 'use', 'System.Net, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ) ; Construct a guid using any random guid as a constructor parameter. strGuid = "{D28AC658-2D3C-4111-B297-1E7D132F2FE4}" oGUID = ObjectClrNew('System.Guid',strGuid ) ; Returns a VT_RECORD and WinBatch does not have built in functionality ; to handle this variant type directly. rGUID = oGUID.NewGuid() ; Returns a vt_record ; However, ObjectClrType can turn it into a regular COM/CLR object ; with a little help from the FCL. strctGuid = ObjectClrType("System.Guid", rGUID) Message("String Representation of New Guid", strctGuid.ToString())
Article ID: W17837
Filename: System GUID.txt
File Created: 2013:07:01:09:56:52
Last Updated: 2013:07:01:09:56:52