GetUniqueName (Dundas Upload Control 2.0)

Dundas

GetUniqueName (Dundas Upload Control 2.0)

Overview | Properties | Methods

This method returns a unique name (a GUID).

Syntax

string = UploadObject.GetUniqueName()

Remarks

Call this method to retrieve a GUID (a Globally Unique Identifier). This can be useful when saving files with unique filenames.

Note that you can also utilize unique filenames by setting the UseUniqueNames property to TRUE. If the UseUniqueNames property is set to TRUE (the default) then all files will be saved with a GUID and an "_" preceding the original filename.

See Also: UseUniqueNames