I have a form to save images with a dynamic number of downloadable images. How can I implement a more unique name for the images with minimal code (MVC)?
filenameFile = String.Format(
"I{0}I{1}P{2}[64x64]{3}",
instance.Item.Id,
instance.Id,
Settings.PropertyPictureId, fileExtension
);
You could use a Guid inside the filename => it will be pretty unique.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With