SequentialFileName
SequentialFileName
class provides methods for generating new sequential filename based on guid and time stamp segments using different params, e.g. existing file, MIME type or file extension.
NewFileName()
Generates new sequential filename based on GUID and time stamp segments.
Also you can use NewFileName()
with param existsFileName
and generate new sequential filename based on GUID and time stamp segments using extension from exists file name.
NewFileNameWithMimeType()
Generate new sequential filename based on GUID and time stamp segments with specified MIME type.
NewFileNameWithExtension()
Generate new sequential filename based on guid and time stamp segments with specified extension.
Last updated